gcc/testsuite/gcc.target/i386/cmpti1.c
raw| 1 | /* { dg-do compile { target int128 } } */ |
| 2 | /* { dg-options "-O2" } */ |
| 3 | int eq(__int128 x, __int128 y) { return x == y; } |
| 4 | int ne(__int128 x, __int128 y) { return x != y; } |
| 5 | /* { dg-final { scan-assembler-times "xorq" 4 } } */ |
| 6 | /* { dg-final { scan-assembler-times "setne" 1 } } */ |
| 7 | /* { dg-final { scan-assembler-times "sete" 1 } } */ |
| 8 |