1 /* Check that the mov.w displacement addressing insn is generated and the
2 base address is adjusted only once. On SH2A this test is skipped because
3 there is a 4 byte mov.w insn that can handle larger displacements. Thus
4 on SH2A the base address will not be adjusted in this case. */
5 /* { dg-do compile { target { ! sh2a } } } */
6 /* { dg-options "-O1" } */
7 /* { dg-final { scan-assembler-times "add" 2 } } */
10 testfunc_00 (const short* ap
, short* bp
)
19 testfunc_01 (volatile const short* ap
, volatile short* bp
)