target/7282: powerpc64 SImode in FPR
David Edelsohn
dje@watson.ibm.com
Sat Jul 13 07:26:00 GMT 2002
The following reply was made to PR target/7282; it has been noted by GNATS.
From: David Edelsohn <dje@watson.ibm.com>
To: gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org
Cc:
Subject: Re: target/7282: powerpc64 SImode in FPR
Date: Sat, 13 Jul 2002 10:18:54 -0400
This looks okay except for
+ [(set (match_operand:DF 0 "gpc_reg_operand" "=f")
+ (float:DF (match_operand:SI 1 "gpc_reg_operand" "*f")))
+ (clobber (match_operand:DI 2 "memory_operand" "=o"))
+ (clobber (match_operand:DI 3 "gpc_reg_operand" "=r"))
+ (clobber (match_operand:DI 4 "gpc_reg_operand" "=f"))]
The input SImode operand should have constraint "r", not "*f". The whole
point of this pattern is to move the SImode operand from the GPR to the
FPR because GCC sometimes gets confused when asked to do this itself.
SImode is not allowed in FPRs, so the "*f" constraint is contradictory.
David
More information about the Gcc-prs
mailing list