2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vfp-ldmdbd.c
blob3489a2a9e2557bcb319b9a2deb8614f7856cd340
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 (double);
9 void
10 foo (double *p, double a, int n)
13 bar (*--p + a);
14 while (n--);
17 /* { dg-final { scan-assembler "vldmdb.64" } } */