[APX ZU] Fix test for target-support check
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / fma_float_5.c
blob3a62590d2a2e1af9eea4c7ab1be97eb58c8b4172
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wno-attributes -mfpmath=sse -mfma" } */
4 /* Test that the compiler properly optimizes floating point multiply
5 and add instructions into FMA3 instructions. */
7 #define TYPE float
9 #include "fma_5.h"
11 /* { dg-final { scan-assembler-times "vfmadd\[132\]+ss" 12 } } */
12 /* { dg-final { scan-assembler-times "vfmsub\[132\]+ss" 12 } } */
13 /* { dg-final { scan-assembler-times "vfnmadd\[132\]+ss" 4 } } */
14 /* { dg-final { scan-assembler-times "vfnmsub\[132\]+ss" 4 } } */