Skip to content

Commit

Permalink
[FMV] Allow mixing target_version with target_clones.
Browse files Browse the repository at this point in the history
The combination of these attributes is now permitted.
  • Loading branch information
labrinea committed Mar 20, 2024
1 parent 9ec2de7 commit 20e3e09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/acle.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ Armv8.4-A [[ARMARMv84]](#ARMARMv84). Support is added for the Dot Product intrin
to use keyword attributes instead of GNU-style attributes.
* Added description of SVE reinterpret intrinsics.
* Changes and fixes for [Function Multi Versioning](#function-multi-versioning):
* Combination of attributes `target_version` and `target_clones` is allowed.
* Changed the mangling rules [Name mangling](#name-mangling), such that
feature names are appended in lexicographic order, not in priority order.
* Mangled names contain a unique set of features (no duplicates).
Expand Down Expand Up @@ -2474,7 +2475,7 @@ The following attributes trigger the multi version code generation:
`__attribute__((target_version("name")))` and
`__attribute__((target_clones("name",...)))`.

* These attributes can't be mixed with each other.
* These attributes can be mixed with each other.
* The `default` version means the version of the function that would
be generated without these attributes.
* `name` is the dependent features from the tables below.
Expand Down

0 comments on commit 20e3e09

Please sign in to comment.