aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/umips-movep-2.c
blob: 5a3a8419eee4d4e8a7a88b89fab60290b8fc67ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Check that we can generate the MOVEP instruction.  */
/* { dg-options "-fpeephole2 -mgp32 (-mmicromips)" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */

int bar (int, int);

int MICROMIPS
foo (int n, int a)
{
  return bar (0, 0);
}

/* { dg-final { scan-assembler "\tmovep\t\\\$4,\\\$5,\\\$0,\\\$0" } } */