summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/smartmips-lwxs.c
blob: 92f46250eb69d1dc54c33e9101129491a59a64ec (plain)
1
2
3
4
5
6
7
8
/* { 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" } } */