blob: ae4cb023d4019b816cdc9985ef4024b9ce69f920 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile { target int128 } } */
/* { dg-options "-O2 -msse2" } */
typedef __int128 v1ti __attribute__ ((__vector_size__ (16)));
v1ti andnot1(v1ti x, v1ti y) { return ~x & y; }
v1ti andnot2(v1ti x, v1ti y) { return x & ~y; }
/* { dg-final { scan-assembler-times "pandn" 2 } } */
/* { dg-final { scan-assembler-not "pcmpeqd" } } */
/* { dg-final { scan-assembler-not "pxor" } } */
|