1 /* Verify that hardware multiply is preferred on XScale. */
2 /* { dg-do compile } */
3 /* { dg-options "-mcpu=xscale -O2" } */
4 /* { dg-require-effective-target arm32 } */
6 /* Brett Gaines' test case. */
7 unsigned BCPL(unsigned) __attribute__ ((naked
));
8 unsigned BCPL(unsigned seed
)
10 /* Best code would be:
16 return seed
* 2147001325U + 715136305U;
19 /* { dg-final { scan-assembler "mla\[ ].*" } } */