1 /* Check that @(r0,rm),rn insns load into r0. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-final { scan-assembler-times "mov.b\t@\\(r0,r\[0123456789\]\\),r0" 1 } } */
5 /* { dg-final { scan-assembler-times "mov.w\t@\\(r0,r\[0123456789\]\\),r0" 1 } } */
6 /* { dg-final { scan-assembler-times "mov.l\t@\\(r0,r\[0123456789\]\\),r0" 1 } } */
9 test_00 (const char* x
, int a
, int b
, int c
)
17 test_01 (const short* x
, int a
, int b
, int c
)
25 test_02 (const int* x
, int a
, int b
, int c
)