blob: 8a2eb63e9a6f2cf254710e0533b1f77df5bec8ce (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* Check that we disable odd-numbered single precision registers. */
/* { dg-skip-if "needs asm output" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
/* { dg-options "-mabi=32 -march=loongson3a -mhard-float" } */
void
foo ()
{
register float foo asm ("$f1"); /* { dg-error "isn't suitable for" } */
asm volatile ("" : "=f" (foo));
}
|