[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vfp-ldmdbs.c
blob8fda4059c3b4b8dd1b651d8bafdf093a5d585628
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 extern void bar (float);
9 void
10 foo (float *p, float a, int n)
13 bar (*--p + a);
14 while (n--);
17 /* { dg-final { scan-assembler "vldmdb.32" } } */