PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vnmul-1.c
blobfd00388a5392e53b60f6781136263a2e2f9ca190
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 -fno-rounding-math" } */
5 /* { dg-add-options arm_fp } */
7 double
8 foo_d (double a, double b)
10 /* { dg-final { scan-assembler "vnmul\\.f64" } } */
11 return -a * b;
14 float
15 foo_s (float a, float b)
17 /* { dg-final { scan-assembler "vnmul\\.f32" } } */
18 return -a * b;