gcc/testsuite/gcc.target/i386/avx2-pr114783.c
raw| 1 | /* PR target/114783 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O2 -mavx2 -mno-avx512f -masm=att" } */ |
| 4 | /* { dg-final { scan-assembler "vpcmpeqd\[ \\t\]+%ymm\[01\], %ymm\[01\], %ymm0" } } */ |
| 5 | |
| 6 | typedef int V __attribute__((vector_size (32))); |
| 7 | |
| 8 | V |
| 9 | foo (V x, V y) |
| 10 | { |
| 11 | return x == y; |
| 12 | } |