Debian Codegraph @

gcc/testsuite/gcc.target/i386/avx512bw-vec-set-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512vl -mavx512bw -O2" } */
3 /* { dg-final { scan-assembler-times {(?n)(?:vp?broadcast|vmovddup)} 36 } } */
4 /* { dg-final { scan-assembler-times {(?n)vpcmp[bwdq][ \t]+\$0} 18 } } */
5
6 typedef char v64qi __attribute__ ((vector_size (64)));
7 typedef short v32hi __attribute__ ((vector_size (64)));
8 typedef int v16si __attribute__ ((vector_size (64)));
9 typedef long long v8di __attribute__ ((vector_size (64)));
10 typedef float v16sf __attribute__ ((vector_size (64)));
11 typedef double v8df __attribute__ ((vector_size (64)));
12
13 #include "avx2-vec-set-1.c"
14
15 FOO (v64qi, char);
16 FOO (v32hi, short);
17 FOO (v16si, int);
18 FOO (v8di, long long);
19 FOO (v16sf, float);
20 FOO (v8df, double);