1 /* { dg-do compile } */ 2 /* { dg-options "-O2" } */ 3 4 double foo_d(double a,double b)5foo_d (double a, double b) 6 { 7 /* { dg-final { scan-assembler "fnmul\\td\[0-9\]+, d\[0-9\]+, d\[0-9\]+" } } */ 8 return -(a * b); 9 } 10 11 float foo_s(float a,float b)12foo_s (float a, float b) 13 { 14 /* { dg-final { scan-assembler "fnmul\\ts\[0-9\]+, s\[0-9\]+, s\[0-9\]+" } } */ 15 return -(a * b); 16 } 17