[committed] ft32 doesn't support trampolines.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / fpr-moves-3.c
blob80db0710c4ce662a4419358e6d12e6efefaa9433
1 /* { dg-options "-mabi=32 -mfp64 -EL" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 NOMIPS16 double
5 foo (double d)
7 register double l1 asm ("$8") = d;
8 register double l2 asm ("$f20") = 0.0;
9 asm ("#foo" : "=d" (l1) : "d" (l1));
10 asm volatile ("#foo" :: "f" (l2));
11 return l1;
14 /* { dg-final { scan-assembler "\tmfc1\t\\\$8,\\\$f12\n" } } */
15 /* { dg-final { scan-assembler "\tmfhc1\t\\\$9,\\\$f12\n" } } */
16 /* { dg-final { scan-assembler "\tmtc1\t\\\$0,\\\$f20\n" } } */
17 /* { dg-final { scan-assembler "\tmthc1\t\\\$0,\\\$f20\n" } } */
18 /* { dg-final { scan-assembler "\tmtc1\t\\\$8,\\\$f0\n" } } */
19 /* { dg-final { scan-assembler "\tmthc1\t\\\$9,\\\$f0\n" } } */