rt_gccstream/gcc/testsuite/gcc.target/mips/smartmips-lwxs.c

9 lines
186 B
C

/* { dg-do compile } */
/* { dg-options "-O -msmartmips" } */
NOMIPS16 int scaled_indexed_word_load (int a[], int b)
{
return a[b];
}
/* { dg-final { scan-assembler "\tlwxs\t" } } */