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