libstdc++: Move gcc.gnu.org and sourceware.org links to https
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vnmul-2.c
blobc299ec115f5aaaff082b79d5d81b2aa8e7939db4
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_fp_ok } */
3 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
4 /* { dg-options "-O2 -frounding-math" } */
5 /* { dg-add-options arm_fp } */
7 double
8 foo_d (double a, double b)
10 /* { dg-final { scan-assembler-not "vnmul\\.f64" } } */
11 return -a * b;
14 float
15 foo_s (float a, float b)
17 /* { dg-final { scan-assembler-not "vnmul\\.f32" } } */
18 return -a * b;