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