repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
dsp-no-lhx.c
blob
42c4688cd0f7b3e90bdfc9d0a10ee9e3ef73a30c
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
}