gcc/testsuite/gcc.target/mips/mips16-attributes-6.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-mips16 addressing=absolute -mips3d forbid_cpu=octeon.*" } */ |
| 3 | |
| 4 | static inline NOMIPS16 float |
| 5 | i1 (float f) |
| 6 | { |
| 7 | return __builtin_mips_recip1_s (f); |
| 8 | } |
| 9 | |
| 10 | float f1 (float f) { return i1 (f); } |
| 11 | |
| 12 | /* { dg-final { scan-assembler "\trecip1.s\t" } } */ |
| 13 | /* { dg-final { scan-assembler "\tjal\ti1" } } */ |