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

__int128 x;
int foo()
{
    __int128 t = 0x1234567890abcdefLL;
    return x == t;
}

/* { dg-final { scan-assembler-times "movabsq" 1 } } */
/* { dg-final { scan-assembler-times "xorq" 1 } } */
/* { dg-final { scan-assembler-not "xorl" } } */