Debian Codegraph @

gcc/testsuite/gcc.target/mips/madd4-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-ffast-math -mno-madd4 (HAS_MADD4) -mhard-float" } */
3 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 /* { dg-final { scan-assembler-not "\tmadd.s\t" } } */
5
6 #ifndef __mips_no_madd4
7 #error missing definition of __mips_no_madd4
8 #endif
9
10 NOMIPS16 float
11 madd4 (float f, float g, float h)
12 {
13 return (f * g) + h;
14 }