[clang] 6e19e6c - [clang][X86] Add RDPRU predefined macro tests for znver2/znver3 targets
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 11 07:49:08 PDT 2022
Author: Simon Pilgrim
Date: 2022-08-11T15:48:39+01:00
New Revision: 6e19e6ce36e44554ac9fbf8b2780de05e922c849
URL: https://github.com/llvm/llvm-project/commit/6e19e6ce36e44554ac9fbf8b2780de05e922c849
DIFF: https://github.com/llvm/llvm-project/commit/6e19e6ce36e44554ac9fbf8b2780de05e922c849.diff
LOG: [clang][X86] Add RDPRU predefined macro tests for znver2/znver3 targets
These were missed in D128934
Added:
Modified:
clang/test/Preprocessor/predefined-arch-macros.c
Removed:
################################################################################
diff --git a/clang/test/Preprocessor/predefined-arch-macros.c b/clang/test/Preprocessor/predefined-arch-macros.c
index 6384b139c4054..0ffa2739e5df4 100644
--- a/clang/test/Preprocessor/predefined-arch-macros.c
+++ b/clang/test/Preprocessor/predefined-arch-macros.c
@@ -3216,6 +3216,7 @@
// CHECK_ZNVER2_M32: #define __POPCNT__ 1
// CHECK_ZNVER2_M32: #define __PRFCHW__ 1
// CHECK_ZNVER2_M32: #define __RDPID__ 1
+// CHECK_ZNVER2_M32: #define __RDPRU__ 1
// CHECK_ZNVER2_M32: #define __RDRND__ 1
// CHECK_ZNVER2_M32: #define __RDSEED__ 1
// CHECK_ZNVER2_M32: #define __SHA__ 1
@@ -3266,6 +3267,7 @@
// CHECK_ZNVER2_M64: #define __POPCNT__ 1
// CHECK_ZNVER2_M64: #define __PRFCHW__ 1
// CHECK_ZNVER2_M64: #define __RDPID__ 1
+// CHECK_ZNVER2_M64: #define __RDPRU__ 1
// CHECK_ZNVER2_M64: #define __RDRND__ 1
// CHECK_ZNVER2_M64: #define __RDSEED__ 1
// CHECK_ZNVER2_M64: #define __SHA__ 1
@@ -3318,6 +3320,7 @@
// CHECK_ZNVER3_M32: #define __POPCNT__ 1
// CHECK_ZNVER3_M32: #define __PRFCHW__ 1
// CHECK_ZNVER3_M32: #define __RDPID__ 1
+// CHECK_ZNVER3_M32: #define __RDPRU__ 1
// CHECK_ZNVER3_M32: #define __RDRND__ 1
// CHECK_ZNVER3_M32: #define __RDSEED__ 1
// CHECK_ZNVER3_M32: #define __SHA__ 1
@@ -3368,6 +3371,7 @@
// CHECK_ZNVER3_M64: #define __POPCNT__ 1
// CHECK_ZNVER3_M64: #define __PRFCHW__ 1
// CHECK_ZNVER3_M64: #define __RDPID__ 1
+// CHECK_ZNVER3_M64: #define __RDPRU__ 1
// CHECK_ZNVER3_M64: #define __RDRND__ 1
// CHECK_ZNVER3_M64: #define __RDSEED__ 1
// CHECK_ZNVER3_M64: #define __SHA__ 1
More information about the cfe-commits
mailing list