[clang] [clang][x86] Missing `AVX512VP2INTERSECT` flag (PR #111435)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 00:57:47 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff d2457e6d8f62a12b3b74791cfd3f5808168c8a71 694113e6d475df6b271c4174d02d5cd03b9aabf2 --extensions h -- clang/lib/Headers/cpuid.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Headers/cpuid.h b/clang/lib/Headers/cpuid.h
index 2601aa5724..e4d435497d 100644
--- a/clang/lib/Headers/cpuid.h
+++ b/clang/lib/Headers/cpuid.h
@@ -187,18 +187,18 @@
 #define bit_ENQCMD           0x20000000
 
 /* Features in %edx for leaf 7 sub-leaf 0 */
-#define bit_AVX5124VNNIW        0x00000004
-#define bit_AVX5124FMAPS        0x00000008
-#define bit_UINTR               0x00000020
-#define bit_AVX512VP2INTERSECT  0x00000100
-#define bit_SERIALIZE           0x00004000
-#define bit_TSXLDTRK            0x00010000
-#define bit_PCONFIG             0x00040000
-#define bit_IBT                 0x00100000
-#define bit_AMXBF16             0x00400000
-#define bit_AVX512FP16          0x00800000
-#define bit_AMXTILE             0x01000000
-#define bit_AMXINT8             0x02000000
+#define bit_AVX5124VNNIW 0x00000004
+#define bit_AVX5124FMAPS 0x00000008
+#define bit_UINTR 0x00000020
+#define bit_AVX512VP2INTERSECT 0x00000100
+#define bit_SERIALIZE 0x00004000
+#define bit_TSXLDTRK 0x00010000
+#define bit_PCONFIG 0x00040000
+#define bit_IBT 0x00100000
+#define bit_AMXBF16 0x00400000
+#define bit_AVX512FP16 0x00800000
+#define bit_AMXTILE 0x01000000
+#define bit_AMXINT8 0x02000000
 
 /* Features in %eax for leaf 7 sub-leaf 1 */
 #define bit_SHA512        0x00000001

``````````

</details>


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


More information about the cfe-commits mailing list