This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i386.md patch fix enable-checking bootstrap failure


Richard Henderson wrote:
On Tue, Jul 30, 2002 at 12:38:31AM +0100, Graham Stott wrote:

 (define_split
   [(set (match_operand:SF 0 "push_operand" "")
 	(match_operand:SF 1 "register_operand" ""))]
-   "!TARGET_64BIT && ANY_FP_REGNO_P (REGNO (operands[1]))"
+   "!TARGET_64BIT && ANY_FP_REG_P (operands[1])"

I'd prefer that we merge the ANY_FP_REG_P into the operand predicate.


r~

I assume you mean write a new predicate any_fp_register_operand along
the lines of

int
any_fp_register_operand (op)
     rtx op;
{
   return register_operand (op) && ANY_FP_REG_P (op);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]