3 This test ensures that the shorter LEA instruction is used in preference
4 to the longer ADD instruction.
6 This preference is applicable to ColdFire only. On CPU32, we can
7 use a sequence of two ADDQ instructions, which is faster than the
10 /* { dg-do compile } */
11 /* { dg-skip-if "" { *-*-* } { "-mcpu=*" } { "-mcpu=5208" } } */
12 /* { dg-options "-O2 -mcpu=5208" } */
13 /* { dg-final { scan-assembler "lea" } } */
14 /* { dg-final { scan-assembler-not "add" } } */