Skip to content

Commit a8a724c

Browse files
authored
[FMV] Require all function versions declared in TU with default definition. (#328)
1 parent d82c0a9 commit a8a724c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main/acle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ Armv8.4-A [[ARMARMv84]](#ARMARMv84). Support is added for the Dot Product intrin
397397
#### Changes for next release
398398

399399
* Fixed incorrect system register dependencies in Function Multi Versioning.
400+
* Added a requirement for function version declaration in Function Multi Versioning.
400401

401402
### References
402403

@@ -2519,16 +2520,15 @@ following:
25192520

25202521
* when applied to a function it becomes one of the versions. Function
25212522
with the same name may exist with multiple versions in the same
2522-
translation unit.
2523-
* Function versions may reside in different translation units.
2524-
* Each version declaration should be visible at the translation
2525-
unit in which the corresponding function version resides.
2523+
or in different translation units.
25262524
* One `default` version of the function is required to be provided
25272525
in one of the translation units.
25282526
* Implicitly, without this attribute,
25292527
* or explicitly providing the `default` in the attribute.
25302528
* All instances of the versions shall share the same function
25312529
signature and calling convention.
2530+
* All the function versions must be declared at the translation
2531+
unit in which the definition of the default version resides.
25322532

25332533
The attribute `__attribute__((target_clones("name",...)))` expresses the
25342534
following:

0 commit comments

Comments
 (0)