1 /* Verify that hardware multiply is preferred on XScale. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-require-effective-target arm_arch_xscale_arm_ok } */
5 /* { dg-add-options arm_arch_xscale_arm } */
8 /* Brett Gaines' test case. */
9 unsigned BCPL(unsigned) __attribute__ ((naked
));
10 unsigned BCPL(unsigned seed
)
12 /* Best code would be:
18 return seed
* 2147001325U + 715136305U;
21 /* { dg-final { scan-assembler "mla\[ ].*" } } */