PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vfp-stmdbd.c
blob686fe86392b4e41d85cb3c98b1f30e57e6e9f61e
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 (double *p, double a, double b, int n)
10 double c = a + b;
12 *--p = c;
13 while (n--);
16 /* { dg-final { scan-assembler "vstmdb.64" } } */