1 /* Check that DImode comparisons are optimized as expected when compiling
3 /* { dg-do compile } */
4 /* { dg-options "-Os" } */
5 /* { dg-final { scan-assembler-times "tst" 2 } } */
6 /* { dg-final { scan-assembler-not "cmp" } } */
11 /* 1x tst, no cmp/* insns. */
12 return *x
& 0xFFFFFFFF ? -20 : -40;
16 test_01 (unsigned long long x
)
18 /* 1x tst, no cmp/* insns. */
19 return x
>= 0x100000000LL
? -20 : -40;