File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
25332533The attribute `__attribute__((target_clones("name",...)))` expresses the
25342534following:
You can’t perform that action at this time.
0 commit comments