blob: 8fa20a09090514fe53a3f2a3fb0b75bfec313cb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* Test MIPS32 DSP LHX instruction */
/* { dg-do compile } */
/* { dg-options "-mgp32 -mdsp" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-final { scan-assembler "\tlhx\t" } } */
NOMIPS16 signed short test (signed short *a, int index)
{
return a[index];
}
|