From 69d5caac02bf330eddc6c762141c17a0c1280746 Mon Sep 17 00:00:00 2001 From: Alfie Richards Date: Tue, 30 Sep 2025 08:42:33 +0000 Subject: [PATCH] Restrict FMV to not work with other mangling/cloning extensions --- main/acle.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/acle.md b/main/acle.md index 3b066e93..352fd42b 100644 --- a/main/acle.md +++ b/main/acle.md @@ -465,6 +465,7 @@ Armv8.4-A [[ARMARMv84]](#ARMARMv84). Support is added for the Dot Product intrin * Added feature test macro for FEAT_SSVE_FEXPA. * Added feature test macro for FEAT_CSSC. +* Added restrictions of Function Multi Versioning's use with other extensions. ### References @@ -2788,6 +2789,8 @@ The following attributes trigger the multi version code generation: * as a function annotated with `target_version("default")`, * or, as a function annotated with `target_clones(...)` where one of the versions is `default`. +* Using any C/C++ extensions or attributes that affect function name mangling, + or that clone functions alongside Function Multi Versioning is not supported. The attribute `__attribute__((target_version("")))` expresses the following: