[committed] ft32 doesn't support trampolines.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / fpr-moves-2.c
blobffe614fcbb23793af72607fa42597ca8f1bbd943
1 /* { dg-options "-mabi=32 -mhard-float -mips1 -EB" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 NOMIPS16 void
5 foo (double d, double *x)
7 *x = d;
10 NOMIPS16 double
11 bar (double d)
13 register double l1 asm ("$8") = d;
14 register double l2 asm ("$f20") = 0.0;
15 asm ("#foo" : "=d" (l1) : "d" (l1));
16 asm volatile ("#foo" :: "f" (l2));
17 return l1;
20 /* { dg-final { scan-assembler "\tswc1\t\\\$f12,4\\\(\\\$6\\\)\n" } } */
21 /* { dg-final { scan-assembler "\tswc1\t\\\$f13,0\\\(\\\$6\\\)\n" } } */
22 /* { dg-final { scan-assembler "\tmfc1\t\\\$9,\\\$f12\n" } } */
23 /* { dg-final { scan-assembler "\tmfc1\t\\\$8,\\\$f13\n" } } */
24 /* { dg-final { scan-assembler "\tmtc1\t\\\$0,\\\$f20\n" } } */
25 /* { dg-final { scan-assembler "\tmtc1\t\\\$0,\\\$f21\n" } } */
26 /* { dg-final { scan-assembler "\tmtc1\t\\\$9,\\\$f0\n" } } */
27 /* { dg-final { scan-assembler "\tmtc1\t\\\$8,\\\$f1\n" } } */