aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/cmpti2.c
blob: ba7dd7292a0425a173557903798cc7357eefa304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target int128 } } */
/* { dg-options "-O2 -mno-stv" } */

__int128 x;
__int128 y;

int eq() { return x == y; }
int ne() { return x != y; }

/* { dg-final { scan-assembler-times "xorq" 4 } } */
/* { dg-final { scan-assembler-times "setne" 1 } } */
/* { dg-final { scan-assembler-times "sete" 1 } } */