1 /* Check that loads/stores from/to volatile mems utilize indexed addressing
2 modes and do not result in redundant sign/zero extensions. */
3 /* { dg-do compile } */
4 /* { dg-options "-O1" } */
5 /* { dg-final { scan-assembler-times "@\\(r0," 6 } } */
6 /* { dg-final { scan-assembler-not "exts|extu" } } */
9 test_00 (volatile char* x
, unsigned int y
)
15 test_100 (volatile char* x
, unsigned int y
, char z
)
21 test_01 (volatile short* x
, unsigned int y
)
27 test_101 (volatile short* x
, unsigned int y
, short z
)
33 test_02 (volatile int* x
, unsigned int y
)
39 test_102 (volatile int* x
, unsigned int y
, int z
)