Commit 88fe15a1 by Richard Kenner

*** empty log message ***

From-SVN: r612
parent 7dcd3836
...@@ -349,16 +349,17 @@ input_operand (op, mode) ...@@ -349,16 +349,17 @@ input_operand (op, mode)
|| GET_MODE_SIZE (mode) > UNITS_PER_WORD) || GET_MODE_SIZE (mode) > UNITS_PER_WORD)
return gen_reg_operand (op, mode); return gen_reg_operand (op, mode);
/* For SImode, we can also load from a special register, so any register /* The only cases left are integral modes one word or smaller (we
is valid. */ do not get called for MODE_CC values). These can be in any
if (mode == SImode && register_operand (op, mode)) register. */
if (register_operand (op, mode))
return;
/* For HImode and QImode, any constant is valid. */
if ((mode == HImode || mode == QImode)
&& GET_CODE (op) == CONST_INT)
return 1; return 1;
/* For HImode and QImode, any constant is valid along with any
non-special register. */
if (mode == HImode || mode == QImode)
return register_operand (op, mode) || GET_CODE (op) == CONST_INT;
/* Otherwise, we will be doing this SET with an add, so anything valid /* Otherwise, we will be doing this SET with an add, so anything valid
for an add will be valid. */ for an add will be valid. */
return add_operand (op, mode); return add_operand (op, mode);
......
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