Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr109973-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx2" } */
3
4 typedef long long __m256i __attribute__ ((__vector_size__ (32)));
5
6 int
7 foo (__m256i x, __m256i y)
8 {
9 __m256i a = x & y;
10 return __builtin_ia32_ptestc256 (a, a);
11 }
12
13 /* { dg-final { scan-assembler "movl\[ \\t]*\\\$1, %eax" } } */