1 /* Test MIPS32 DSP REV 2 MULTU instruction. Tune for a CPU that has
3 /* { dg-do compile } */
4 /* { dg-options "-mgp32 -mdspr2 -O2 -ffixed-hi -ffixed-lo -mtune=74kc" } */
6 /* { dg-final { scan-assembler "\tmultu\t" } } */
7 /* { dg-final { scan-assembler "ac1" } } */
8 /* { dg-final { scan-assembler "ac2" } } */
10 typedef unsigned long long a64;
12 NOMIPS16 a64 test (a64 *a, unsigned int *b, unsigned int *c)
14 a[0] = (a64) b[0] * c[0];
15 a[1] = (a64) b[1] * c[1];