gcc/testsuite/gcc.target/s390/load-and-test-fp-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O3 -mzarch -march=z196" } */ |
| 3 | |
| 4 | /* Use load-and-test instructions if compared for (in)equality and if variable |
| 5 | `a` is dead after the comparison. For all other cases use |
| 6 | compare-and-signal instructions. */ |
| 7 | |
| 8 | #include "load-and-test-fp.h" |
| 9 | |
| 10 | /* { dg-final { scan-assembler-times "ltdbr\t" 2 } } */ |
| 11 | /* { dg-final { scan-assembler-times "cdbr\t" 2 } } */ |
| 12 | /* { dg-final { scan-assembler-times "kdbr\t" 8 } } */ |