1 /* Check that move instructions have the correct length on SH2A. */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -dp" } */
5 /* { dg-final { scan-assembler-times "length = 4" 10 { target { "sh2a" && any_fpu } } } } */
6 /* { dg-final { scan-assembler-times "length = 4" 8 { target { "sh2a" && no_fpu } } } } */
27 test_03 (int* x
, unsigned int y
)
29 return *(int*)((unsigned int)x
+ y
);