Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / mips / mips64-dsp-ldx.c
blob7370ad93c3e3f2a84d9fffba5b28382f7862294b
1 /* Test MIPS64 DSP instructions */
2 /* { dg-do compile } */
3 /* { dg-options "-mgp64 -mdsp (!HAS_LSA)" } */
4 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
6 /* { dg-final { scan-assembler "\tldx\t" } } */
8 NOMIPS16 signed long long test (signed long long *a, int index)
10 return a[index];