gcc/testsuite/gcc.target/cris/pr93372-32.c
raw| 1 | /* Check that eliminable compare-instructions are eliminated. */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-skip-if "" { "*-*-*" } { "-march=*" } { "" } } */ |
| 4 | /* { dg-options "-O2 -march=v10" } */ |
| 5 | /* { dg-final { scan-assembler-not "\tcmp|\ttest" } } */ |
| 6 | /* { dg-final { scan-assembler "\tswapwb " } } */ |
| 7 | |
| 8 | #define op(xx) __builtin_bswap32(xx) |
| 9 | |
| 10 | #include "pr93372-31.c" |