Debian Codegraph @

gcc/testsuite/gcc.target/i386/sse2-v1ti-vne.c

raw
1 /* { dg-do compile { target int128 } } */
2 /* { dg-options "-O2 -msse2 -mno-avx512f" } */
3 typedef unsigned __int128 uv1ti __attribute__ ((__vector_size__ (16)));
4 typedef unsigned long long uv2di __attribute__ ((__vector_size__ (16)));
5 typedef unsigned int uv4si __attribute__ ((__vector_size__ (16)));
6
7 uv1ti eq_v1ti(uv1ti x, uv1ti y) { return x != y; }
8 uv2di eq_v2di(uv2di x, uv2di y) { return x != y; }
9 uv4si eq_v4si(uv4si x, uv4si y) { return x != y; }
10
11 /* { dg-final { scan-assembler-times "pcmpeq" 6 } } */
12 /* { dg-final { scan-assembler-times "pxor" 3 } } */
13 /* { dg-final { scan-assembler "pshufd" } } */