aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/mips-prepend-1.c
blob: 126dbebcba546be0cf3943308c3bfc4350d12a07 (plain)
1
2
3
4
5
6
7
8
/* { dg-options "-mdspr2" } */
/* { dg-final { scan-assembler "prepend\[^\n\]*,10" } } */

NOMIPS16 int
foo (int x, int y)
{
  return __builtin_mips_prepend (x, y, 42);
}