1 /* Verify that hardware multiply is preferred on XScale. */
2 /* { dg-do compile { target xscale*-*-* } } */
3 /* { dg-options "-mcpu=xscale -O2" } */
5 /* Brett Gaines' test case. */
6 unsigned BCPL(unsigned) __attribute__ ((naked));
7 unsigned BCPL(unsigned seed)
15 return seed * 2147001325U + 715136305U;
18 /* We want to suppress running for -mthumb but not for -mthumb-interwork. */
19 /* { dg-final { global compiler_flags; if ![string match "*-mthumb *" $compiler_flags] { scan-assembler "mla\[ ].*" } } } */