blob: f5940ef975aefa46f280eed97266499385d5cafe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile } */
/* { dg-require-effective-target arm_vfp_ok } */
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
/* { dg-options "-O2 -mfpu=vfp -mfloat-abi=softfp" } */
extern void baz (float);
void
foo (float *p, float a, int n)
{
do
bar (*--p + a);
while (n--);
}
/* { dg-final { scan-assembler "fldmdbs" } } */
|