aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/mips64-dsp-ldx1.c
blob: b7f3bc8f816e59136f60e31f1d9bb692127c6d03 (plain)
1
2
3
4
5
6
7
8
9
10
/* Test MIPS64 DSP instructions */
/* { dg-do compile } */
/* { dg-options "-mgp64 -mdsp" }  */

/* { dg-final { scan-assembler "\tldx\t" } } */

NOMIPS16 signed long long test (signed long long *a, int index)
{
  return __builtin_mips_ldx (a, index);
}