PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vfp-ldmias.c
blob31d2ee175779549960b1fbb7c02e561a4b00da86
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 "vldmia.32" } } */