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
This commit is contained in:
John David Anglin 2002-02-10 17:27:55 +00:00 committed by John David Anglin
parent 02669b681e
commit 276ef573ed
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;

View File

@ -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}}, \