1 /* Check that the mov.b displacement addressing insn is generated.
2 If the insn is generated as expected, there should be no address
3 calculations outside the mov insns. */
4 /* { dg-do compile { target "sh*-*-*" } } */
5 /* { dg-options "-O1" } */
6 /* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } } */
7 /* { dg-final { scan-assembler-not "add|sub" } } */
10 testfunc_00 (const char* ap, char* bp, char val)
21 testfunc_01 (volatile const char* ap, volatile char* bp, char val)