[compiler-rt] [llvm] [clang] [clang-tools-extra] [X86] Support more ISAs to enable __builtin_cpu_supports (PR #79086)
Freddy Ye via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 4 01:24:46 PST 2024
================
@@ -217,10 +217,11 @@ enum ProcessorFeatures {
FEATURE_SM3,
FEATURE_SHA512,
FEATURE_SM4,
- // FEATURE_APX_F,
- FEATURE_USERMSR = 112,
- // FEATURE_AVX10_1_256,
- // FEATURE_AVX10_1_512,
+ //FIXME: gcc used string "apxf" instead of "egpr"
----------------
FreddyLeaf wrote:
Yes, the concern is from that gcc use `apxf` but not `egpr`. I don't think adding one more line like this is complete safe. I prefer to not touch APX firs and refine it in another PR, WDYT?
```
X86_FEATURE_COMPAT(EGPR, "apxf", 0)
```
https://github.com/llvm/llvm-project/pull/79086
More information about the llvm-commits
mailing list