gcc/testsuite/gcc.target/mips/const-anchor-3.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 | /* See PR61926 for the XFAILs. */ |
| 5 | /* { dg-final { scan-assembler-not "0x12330000|305332224" { xfail *-*-* } } } */ |
| 6 | /* { dg-final { scan-assembler "\td?addiu\t\\\$5,\\\$\[0-9\]*,-1" { xfail *-*-* } } } */ |
| 7 | |
| 8 | extern void g (int, int); |
| 9 | |
| 10 | NOMIPS16 void f () |
| 11 | { |
| 12 | g (0x12340001, 0x1233ffff); |
| 13 | } |