2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / fnmul-1.c
blob92945d402ff82bd35c9adaa09b906aa61b705827
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 double
5 foo_d (double a, double b)
7 /* { dg-final { scan-assembler "fnmul\\td\[0-9\]+, d\[0-9\]+, d\[0-9\]+" } } */
8 return -a * b;
11 float
12 foo_s (float a, float b)
14 /* { dg-final { scan-assembler "fnmul\\ts\[0-9\]+, s\[0-9\]+, s\[0-9\]+" } } */
15 return -a * b;