blob: d51aa9e09a60f1c60c91682564c6525df8f8b1e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* PR target/50749: Verify that pre-decrement addressing is generated. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2" "-m3" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } } */
/* { dg-final { scan-assembler-times "fmov.s\tfr\[0-9]\+,@-r\[0-9]\+" 1 } } */
float*
test_func_00 (float* p, float c)
{
*--p = c;
return p;
}
|