gcc/testsuite/gcc.target/mips/umips-movep-2.c
raw| 1 | /* Check that we can generate the MOVEP instruction. */ |
| 2 | /* { dg-options "-fpeephole2 -mgp32 (-mmicromips)" } */ |
| 3 | /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ |
| 4 | |
| 5 | int bar (int, int); |
| 6 | |
| 7 | int MICROMIPS |
| 8 | foo (int n, int a) |
| 9 | { |
| 10 | return bar (0, 0); |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler "\tmovep\t\\\$4,\\\$5,\\\$0,\\\$0" } } */ |