1 /* { dg-options "-mabi=32 -mfp64 -EL" } */
2 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
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
));
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" } } */