[Bug target/91886] New: [10 regression] powerpc64 impossible register constraint in asm
nsz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 24 17:13:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886
Bug ID: 91886
Summary: [10 regression] powerpc64 impossible register
constraint in asm
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: nsz at gcc dot gnu.org
Target Milestone: ---
this used to work for me:
double fmax(double x, double y)
{
__asm__ ("xsmaxdp %x0, %x1, %x2" : "=ws"(x) : "ws"(x), "ws"(y));
return x;
}
compiled to
fmax:
xsmaxdp 1, 1, 2
blr
now (gcc version 10.0.0 20190924) i get
fmax.c: In function 'fmax':
fmax.c:3:2: error: impossible constraint in 'asm'
3 | __asm__ ("xsmaxdp %x0, %x1, %x2" : "=ws"(x) : "ws"(x), "ws"(y));
| ^~~~~~~
More information about the Gcc-bugs
mailing list