Commit 375ffbe6 by Eric Botcazou Committed by Eric Botcazou

sparc.c (input_operand): Accept bare CONSTANT_P_RTX operands.

	* config/sparc/sparc.c (input_operand): Accept bare
	CONSTANT_P_RTX operands.

From-SVN: r65143
parent 28ea4c88
2003-04-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sparc.c (input_operand): Accept bare
CONSTANT_P_RTX operands.
2003-04-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 2003-04-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcse.c (struct ls_expr): Added pattern_regs field. * gcse.c (struct ls_expr): Added pattern_regs field.
......
...@@ -1297,8 +1297,8 @@ input_operand (op, mode) ...@@ -1297,8 +1297,8 @@ input_operand (op, mode)
if (mode != VOIDmode && GET_MODE (op) != VOIDmode && mode != GET_MODE (op)) if (mode != VOIDmode && GET_MODE (op) != VOIDmode && mode != GET_MODE (op))
return 0; return 0;
/* Only a tiny bit of handling for CONSTANT_P_RTX is necessary. */ /* Accept CONSTANT_P_RTX, since it will be gone by CSE1 and result in 0/1. */
if (GET_CODE (op) == CONST && GET_CODE (XEXP (op, 0)) == CONSTANT_P_RTX) if (GET_CODE (op) == CONSTANT_P_RTX)
return 1; return 1;
/* Allow any one instruction integer constant, and all CONST_INT /* Allow any one instruction integer constant, and all CONST_INT
......
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