Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
fd31098434d7933a0471183f342473d1fb02389d
/
.
/
gcc
/
testsuite
/
gcc.target
/
mips
/
dsp-no-lhx.c
blob: 42c4688cd0f7b3e90bdfc9d0a10ee9e3ef73a30c [
file
] [
log
] [
blame
]
/* Test MIPS32 DSP LHX instruction */
/* { dg-do compile } */
/* { dg-options "-mgp32 -mdsp" } */
/* { dg-final { scan-assembler-not "\tlhx\t" } } */
NOMIPS16
unsigned
short
test
(
unsigned
short
*
a
,
int
index
)
{
return
a
[
index
];
}