aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/movdf-3.c
blob: f89747378dae042904e9fda5ed1f3c28de3aa41b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Check that we move DFmode values using mtc1 between FP and GP.  */
/* { dg-options "-mabi=32 -mfp32 isa=2" } */

void bar (void);

double
foo (int x, double a)
{
  return a;
}
/* { dg-final { scan-assembler-times "mtc1" 2 } } */
/* { dg-final { scan-assembler-not "ldc1" } } */