| 1 |
/* { dg-do compile { target int128 } } */ |
| 2 |
/* { dg-options "-O2 -msse2" } */ |
| 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" 3 } } */ |
| 12 |
/* { dg-final { scan-assembler "pshufd" } } */ |