[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vfp-stmias.c
blob90940e5c8fe760d0cad910d3a7cdb0544c8ba749
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" } */
5 /* { dg-add-options arm_fp } */
7 void
8 foo (float *p, float a, float b, int n)
10 float c = a + b;
12 *p++ = c;
13 while (n--);
16 /* { dg-final { scan-assembler "vstmia.32" } } */