Commit 5a19ad3f by Richard Kenner

(constrain_operands, case 'r'): If STRICT, a REG isn't valid if it is

a pseudo even if GENERAL_REGS == ALL_REGS.

From-SVN: r3542
parent 17938e57
...@@ -1739,7 +1739,8 @@ constrain_operands (insn_code_num, strict) ...@@ -1739,7 +1739,8 @@ constrain_operands (insn_code_num, strict)
&& REGNO (op) >= FIRST_PSEUDO_REGISTER) && REGNO (op) >= FIRST_PSEUDO_REGISTER)
|| (strict == 0 && GET_CODE (op) == SCRATCH) || (strict == 0 && GET_CODE (op) == SCRATCH)
|| (GET_CODE (op) == REG || (GET_CODE (op) == REG
&& (GENERAL_REGS == ALL_REGS && ((GENERAL_REGS == ALL_REGS
&& REGNO (op) < FIRST_PSEUDO_REGISTER)
|| reg_fits_class_p (op, GENERAL_REGS, || reg_fits_class_p (op, GENERAL_REGS,
offset, mode)))) offset, mode))))
win = 1; win = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment