1 /* Test MIPS32 DSP LHX instruction */
2 /* { dg-do compile } */
3 /* { dg-options "-mgp32 -mdsp" } */
4
5 /* { dg-final { scan-assembler-not "\tlhx\t" } } */
6
7 NOMIPS16 unsigned short test (unsigned short *a, int index)
8 {
9 return a[index];
10 }