(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
mips/
dsp-lhx.c
       1  /* Test MIPS32 DSP LHX instruction */
       2  /* { dg-do compile } */
       3  /* { dg-options "-mgp32 -mdsp" } */
       4  /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
       5  
       6  /* { dg-final { scan-assembler "\tlhx\t" } } */
       7  
       8  NOMIPS16 signed short test (signed short *a, int index)
       9  {
      10    return a[index];
      11  }