[clang] [compiler-rt] [llvm] [X86] Support APXF to enable __builtin_cpu_supports. (PR #80636)

Freddy Ye via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 22 01:32:44 PST 2024


================
@@ -983,6 +983,8 @@ static void getAvailableFeatures(unsigned ECX, unsigned EDX, unsigned MaxLeaf,
     setFeature(FEATURE_USERMSR);
   if (HasLeaf7Subleaf1 && ((EDX >> 19) & 1))
     setFeature(FEATURE_AVX10_1_256);
+  if (HasLeaf7Subleaf1 && ((EDX >> 21) & 1))
----------------
FreddyLeaf wrote:

Done.

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


More information about the cfe-commits mailing list