summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/no-smartmips-lwxs.c
blob: ee7f3d54d5d93b685a7d0daddcc4558e955f7359 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O -mno-smartmips" } */

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