PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr70525.c
blob78ba752f94b2e81b65cd8656276502ebac905cb9
1 /* PR target/70525 */
2 /* { dg-do assemble { target avx512bw } } */
3 /* { dg-options "-O2 -mavx512bw -mno-avx512vl" } */
5 typedef char v64qi __attribute__ ((vector_size (64)));
6 typedef short v32hi __attribute__ ((vector_size (64)));
7 typedef int v16si __attribute__ ((vector_size (64)));
8 typedef long long v8di __attribute__ ((vector_size (64)));
10 v64qi
11 f1 (v64qi x, v64qi y)
13 return x & ~y;
16 v32hi
17 f2 (v32hi x, v32hi y)
19 return x & ~y;
22 v16si
23 f3 (v16si x, v16si y)
25 return x & ~y;
28 v8di
29 f4 (v8di x, v8di y)
31 return x & ~y;