2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / movdf-3.c
blob5db52c9487b5d659c450439fd12dd50d8c9a69ed
1 /* Check that we move DFmode values using mtc1 between FP and GP. */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
3 /* { dg-options "-mabi=32 -mfp32 isa=2" } */
5 void bar (void);
7 double
8 foo (int x, double a)
10 return a;
12 /* { dg-final { scan-assembler-times "mtc1" 2 } } */
13 /* { dg-final { scan-assembler-not "ldc1" } } */