Commit 01b4cf2b by Richard Henderson Committed by Richard Henderson

rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.

        * rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.
        * rs6000.md (movsi, movdi): Likewise.

From-SVN: r24877
parent bdae211a
Wed Jan 27 01:13:42 1999 Richard Henderson <rth@cygnus.com>
* rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.
* rs6000.md (movsi, movdi): Likewise.
Tue Jan 26 13:31:38 1999 Jim Wilson <wilson@cygnus.com> Tue Jan 26 13:31:38 1999 Jim Wilson <wilson@cygnus.com>
* function.c (expand_function_end): Pass arg_pointer_save_area to * function.c (expand_function_end): Pass arg_pointer_save_area to
......
...@@ -1132,7 +1132,7 @@ input_operand (op, mode) ...@@ -1132,7 +1132,7 @@ input_operand (op, mode)
return 1; return 1;
/* Only a tiny bit of handling for CONSTANT_P_RTX is necessary. */ /* Only a tiny bit of handling for CONSTANT_P_RTX is necessary. */
if (GET_CODE (op) == CONST && GET_CODE (XEXP (op, 0)) == CONSTANT_P_RTX) if (GET_CODE (op) == CONSTANT_P_RTX)
return 1; return 1;
/* For floating-point, easy constants are valid. */ /* For floating-point, easy constants are valid. */
......
...@@ -8246,8 +8246,7 @@ ...@@ -8246,8 +8246,7 @@
operands[1] = GEN_INT (CONST_DOUBLE_LOW (operands[1])); operands[1] = GEN_INT (CONST_DOUBLE_LOW (operands[1]));
/* Only a tiny bit of handling for CONSTANT_P_RTX is necessary. */ /* Only a tiny bit of handling for CONSTANT_P_RTX is necessary. */
if (GET_CODE (operands[1]) == CONST if (GET_CODE (operands[1]) == CONSTANT_P_RTX)
&& GET_CODE (XEXP (operands[1], 0)) == CONSTANT_P_RTX)
{ {
emit_insn (gen_rtx_SET (VOIDmode, operands[0], operands[1])); emit_insn (gen_rtx_SET (VOIDmode, operands[0], operands[1]));
DONE; DONE;
...@@ -8892,8 +8891,7 @@ ...@@ -8892,8 +8891,7 @@
operands[1] = GEN_INT (CONST_DOUBLE_LOW (operands[1])); operands[1] = GEN_INT (CONST_DOUBLE_LOW (operands[1]));
/* Only a tiny bit of handling for CONSTANT_P_RTX is necessary. */ /* Only a tiny bit of handling for CONSTANT_P_RTX is necessary. */
if (GET_CODE (operands[1]) == CONST if (GET_CODE (operands[1]) == CONSTANT_P_RTX)
&& GET_CODE (XEXP (operands[1], 0)) == CONSTANT_P_RTX)
{ {
emit_insn (gen_rtx_SET (VOIDmode, operands[0], operands[1])); emit_insn (gen_rtx_SET (VOIDmode, operands[0], operands[1]));
DONE; DONE;
......
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