[clang] [llvm] [compiler-rt] [AArch64][FMV] Support feature MOPS in Function Multi Versioning. (PR #78788)

Pavel Iliin via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 14:05:25 PST 2024


================
@@ -172,6 +172,11 @@ static void __init_cpu_features_constructor(unsigned long hwcap,
     // ID_AA64ISAR1_EL1.LS64 >= 0b0011
     if (extractBits(ftr, 60, 4) >= 0x3)
       setCPUFeature(FEAT_LS64_ACCDATA);
+
----------------
ilinpv wrote:

There is HWCAP2_MOPS support in ELF hwcaps https://docs.kernel.org/arch/arm64/elf_hwcaps.html
which can be also used for mops detection if available

https://github.com/llvm/llvm-project/pull/78788


More information about the cfe-commits mailing list