Commit 276ef573 by John David Anglin Committed by John David Anglin

pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.

	* pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
	* pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.

From-SVN: r49654
parent 02669b68
2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
* pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
2002-02-09 David O'Brien <obrien@FreeBSD.org>
* config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
......
......@@ -387,6 +387,10 @@ reg_before_reload_operand (op, mode)
register rtx op;
enum machine_mode mode;
{
/* Don't accept a SUBREG since it will need a reload. */
if (GET_CODE (op) == SUBREG)
return 0;
if (register_operand (op, mode))
return 1;
......
......@@ -1925,7 +1925,7 @@ while (0)
CONST_DOUBLE, CONST, HIGH, CONSTANT_P_RTX}}, \
{"symbolic_operand", {SYMBOL_REF, LABEL_REF, CONST}}, \
{"symbolic_memory_operand", {SUBREG, MEM}}, \
{"reg_before_reload_operand", {SUBREG, MEM}}, \
{"reg_before_reload_operand", {REG, MEM}}, \
{"reg_or_nonsymb_mem_operand", {SUBREG, REG, MEM}}, \
{"reg_or_0_or_nonsymb_mem_operand", {SUBREG, REG, MEM, CONST_INT, \
CONST_DOUBLE}}, \
......
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