Hello, We are going to add Function Multiversioning [1] support to Arm architectures. The specification is made public as beta[2] to ensure toolchain that follows Arm C Language Extension will implement it in the same way.
A few tweaks considered to make the developers' life easier. Since the `target` attribute is used widely on Arm, we would like to introduce a new attribute `target_version` to avoid confusion and possible deployment problems. The `target_clones` attribute will be supported too. Also the “default” version to be made optional. We are looking for feedback on the specification (reply, github works too). Thanks so much, Daniel [1] https://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html [2] https://github.com/ARM-software/acle/blob/main/main/acle.md#function-multi-versioning