c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode.

* config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
	memory mode.

From-SVN: r30026
This commit is contained in:
Michael Hayes 1999-10-15 23:29:00 +00:00 committed by Michael Hayes
parent f9b5668e11
commit 1a616dfc0c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
memory mode.
Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
* pa.c (move_operand): Rely on memory_address_p to determine the

View File

@ -3119,7 +3119,7 @@ src_operand (op, mode)
&& ((GET_CODE (XEXP (op, 0)) == SYMBOL_REF
|| GET_CODE (XEXP (op, 0)) == LABEL_REF
|| GET_CODE (XEXP (op, 0)) == CONST)))
return ! TARGET_EXPOSE_LDP;
return ! TARGET_EXPOSE_LDP && GET_MODE (op) == mode;
return general_operand (op, mode);
}