]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.target/mips/umips-movep-2.c
extend.texi: (micromips, nomicromips, nocompression): Document new function attributes.
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / mips / umips-movep-2.c
CommitLineData
22c4c869
CM
1/* Check that we can generate the MOVEP instruction. */
2/* { dg-options "-fpeephole2 -mgp32 (-mmicromips)" } */
3/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4
5int bar (int, int);
6
7int MICROMIPS
8foo (int n, int a)
9{
10 return bar (0, 0);
11}
12
13/* { dg-final { scan-assembler "\tmovep\t\\\$4,\\\$5,\\\$0,\\\$0" } } */