summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512-check.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx512-check.h')
-rw-r--r--gcc/testsuite/gcc.target/i386/avx512-check.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512-check.h b/gcc/testsuite/gcc.target/i386/avx512-check.h
index 9693fa46721..9390c1ab9ea 100644
--- a/gcc/testsuite/gcc.target/i386/avx512-check.h
+++ b/gcc/testsuite/gcc.target/i386/avx512-check.h
@@ -75,6 +75,9 @@ main ()
#ifdef AVX512VPOPCNTDQ
&& (ecx & bit_AVX512VPOPCNTDQ)
#endif
+#ifdef GFNI
+ && (ecx & bit_GFNI)
+#endif
&& avx512f_os_support ())
{
DO_TEST ();