Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vnmul-3.c
blobdf028823eea27fe61dd4e2308ff8e5401da4160b
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_vfp_ok } */
3 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
4 /* { dg-options "-O2 -fno-rounding-math -mfpu=vfp -mfloat-abi=hard" } */
6 double
7 foo_d (double a, double b)
9 /* { dg-final { scan-assembler "vnmul\\.f64" } } */
10 return -(a * b);
13 float
14 foo_s (float a, float b)
16 /* { dg-final { scan-assembler "vnmul\\.f32" } } */
17 return -(a * b);