1 /* Test MIPS32 DSP LHX instruction */
2 /* { dg-do compile } */
3 /* { dg-options "-mgp32 -mdsp" } */
4 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
6 /* { dg-final { scan-assembler "\tlhx\t" } } */
8 NOMIPS16
signed short test (signed short *a
, int index
)