gcc/testsuite/gcc.target/arm/vmaxnmsf.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target arm_v8_vfp_ok } */ |
| 3 | /* { dg-options "-ffast-math" } */ |
| 4 | /* { dg-add-options arm_v8_vfp } */ |
| 5 | |
| 6 | float |
| 7 | foo (float x, float y) |
| 8 | { |
| 9 | return __builtin_fmaxf (x, y); |
| 10 | } |
| 11 | |
| 12 | /* { dg-final { scan-assembler-times "vmaxnm.f32\ts\[0-9\]+" 1 } } */ |