diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx512vl-vmovntdqa-1.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512vl-vmovntdqa-1.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512vl-vmovntdqa-1.c b/gcc/testsuite/gcc.target/i386/avx512vl-vmovntdqa-1.c new file mode 100644 index 00000000000..36030170356 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/avx512vl-vmovntdqa-1.c @@ -0,0 +1,14 @@ +/* { dg-do compile } */ +/* { dg-options "-mavx512vl -O2" } */ +/* { dg-final { scan-assembler-times "vmovntdqa\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1} } */ + +#include <immintrin.h> + +volatile __m512i x; +__m512i *y; + +void extern +avx512vl_test (void) +{ + x = _mm512_stream_load_si512 (y); +} |