1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mvis3" } */
4 float test_fnadds(float x
, float y
)
9 double test_fnaddd(double x
, double y
)
14 float test_fnmuls(float x
, float y
)
19 double test_fnmuld(double x
, double y
)
24 double test_fnsmuld(float x
, float y
)
26 return -((double)x
* (double)y
);
29 /* { dg-final { scan-assembler "fnadds\t%" } } */
30 /* { dg-final { scan-assembler "fnaddd\t%" } } */
31 /* { dg-final { scan-assembler "fnmuls\t%" } } */
32 /* { dg-final { scan-assembler "fnmuld\t%" } } */
33 /* { dg-final { scan-assembler "fnsmuld\t%" } } */