Commit 6a40a9d6 by David Edelsohn Committed by David Edelsohn

* (lwa_operand): Address must be word aligned.

From-SVN: r45795
parent 6abba055
2001-09-24 David Edelsohn <edelsohn@gnu.org>
* rs6000.c (lwa_operand): Address must be word aligned.
Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree.c (type_hash_marked_p): Consider as marked if debug symbol * tree.c (type_hash_marked_p): Consider as marked if debug symbol
......
...@@ -1308,7 +1308,10 @@ lwa_operand (op, mode) ...@@ -1308,7 +1308,10 @@ lwa_operand (op, mode)
return gpc_reg_operand (inner, mode) return gpc_reg_operand (inner, mode)
|| (memory_operand (inner, mode) || (memory_operand (inner, mode)
&& GET_CODE (XEXP (inner, 0)) != PRE_INC && GET_CODE (XEXP (inner, 0)) != PRE_INC
&& GET_CODE (XEXP (inner, 0)) != PRE_DEC); && GET_CODE (XEXP (inner, 0)) != PRE_DEC
&& (GET_CODE (XEXP (inner, 0)) != PLUS
|| (GET_CODE (XEXP (XEXP (inner, 0), 1)) == CONST_INT
&& INTVAL (XEXP (XEXP (inner, 0), 1)) % 4 == 0)));
} }
/* Return 1 if the operand, used inside a MEM, is a valid first argument /* Return 1 if the operand, used inside a MEM, is a valid first argument
......
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