aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/smartmips-lwxs.c
blob: c6bc495c8de4c121848d3b68b73d2fab3623943a (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* -mlong32 added because of PR target/38599.  */
/* { dg-options "-O -msmartmips -mlong32" } */

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