aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/movdf-3.c
blob: 5db52c9487b5d659c450439fd12dd50d8c9a69ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Check that we move DFmode values using mtc1 between FP and GP.  */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
/* { 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" } } */