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

void bar (void);

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