gcc/testsuite/gcc.target/mips/const-anchor-1.c
raw| 1 | /* Derive a constant (0x1233ffff) from an intermediate value |
| 2 | (0x1234000) used to build another constant. */ |
| 3 | /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ |
| 4 | /* { dg-final { scan-assembler-not "0x12330000|305332224" } } */ |
| 5 | /* { dg-final { scan-assembler "\td?addiu\t\\\$4,\\\$\[0-9\]*,-1" } } */ |
| 6 | |
| 7 | extern void g (int, int); |
| 8 | |
| 9 | NOMIPS16 void f () |
| 10 | { |
| 11 | g (0x1233ffff, 0x12340001); |
| 12 | } |