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

void bar (void);

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