gcc/testsuite/gcc.target/mips/const-anchor-2.c
raw| 1 | /* Derive a constant (0x30001) from another constant. */ |
| 2 | /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ |
| 3 | /* { dg-final { scan-assembler-not "0x300000|196608" } } */ |
| 4 | /* { dg-final { scan-assembler "\td?addiu\t\\\$4,\\\$\[0-9\]*,32763" } } */ |
| 5 | |
| 6 | extern void g (int, int); |
| 7 | |
| 8 | NOMIPS16 void f () |
| 9 | { |
| 10 | g (0x30001, 0x28006); |
| 11 | } |