Hi: Test is ok for funcspec-5.c, funcspec-6.c. gcc/testuite/ChangeLog * gcc.target/i386/funcspec-56.inc: Add enqcmd, avx512bf16, avx512vp2intersect.
gcc/testsuite/gcc.target/i386/funcspec-56.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/testsuite/gcc.target/i386/funcspec-56.inc b/gcc/testsuite/gcc.target/i386/funcspec-56.inc index 0053b5386fc..9fe4a21984b 100644 --- a/gcc/testsuite/gcc.target/i386/funcspec-56.inc +++ b/gcc/testsuite/gcc.target/i386/funcspec-56.inc @@ -68,6 +68,9 @@ extern void test_cld (void) __attribute__((__target__("cld"))); extern void test_recip (void) __attribute__((__target__("recip"))); extern void test_serialize (void) __attribute__((__target__("serialize"))); extern void test_tsxldtrk (void) __attribute__((__target__("tsxldtrk"))); +extern void test_enqcmd (void) __attribute__((__target__("enqcmd"))); +extern void test_avx512bf16 (void) __attribute__((__target__("avx512bf16"))); +extern void test_avx512vp2intersect (void) __attribute__((__target__("avx512vp2intersect"))); extern void test_no_sgx (void) __attribute__((__target__("no-sgx"))); extern void test_no_avx5124fmaps(void) __attribute__((__target__("no-avx5124fmaps"))); @@ -137,6 +140,9 @@ extern void test_no_cld (void) __attribute__((__target__("no-cld"))); extern void test_no_recip (void) __attribute__((__target__("no-recip"))); extern void test_no_serialize (void) __attribute__((__target__("no-serialize"))); extern void test_no_tsxldtrk (void) __attribute__((__target__("no-tsxldtrk"))); +extern void test_no_enqcmd (void) __attribute__((__target__("no-enqcmd"))); +extern void test_no_avx512bf16 (void) __attribute__((__target__("no-avx512bf16"))); +extern void test_no_avx512vp2intersect (void) __attribute__((__target__("no-avx512vp2intersect"))); extern void test_arch_nocona (void) __attribute__((__target__("arch=nocona"))); extern void test_arch_core2 (void) __attribute__((__target__("arch=core2"))); -- BR, Hongtao