1 /* Verify that mov is preferred on XScale for loading a 2 byte constant. */
2 /* { dg-do compile } */
3 /* { dg-options "-mcpu=xscale -O" } */
4 /* { dg-skip-if "Test is specific to the Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */
5 /* { dg-require-effective-target arm32 } */
7 unsigned load2(void) __attribute__ ((naked));
10 /* Best code would be:
18 /* { dg-final { scan-assembler "mov\[ ].*272" } } */