Commit 0f834f0a by Catherine Moore Committed by Catherine Moore

arm.md (movhi): Add check for odd offset.

Tue Apr 20 17:57:14 1999  Catherine Moore  <clm@cygnus.com>
        * config/arm/arm.md (movhi):  Add check for odd offset.

From-SVN: r26564
parent 76409268
Tue Apr 20 17:57:14 1999 Catherine Moore <clm@cygnus.com>
* config/arm/arm.md (movhi): Add check for odd offset.
Tue Apr 20 13:14:58 EDT 1999 John Wehle (john@feith.com) Tue Apr 20 13:14:58 EDT 1999 John Wehle (john@feith.com)
* i386.c (output_move_double): Abort if a non-offsettable * i386.c (output_move_double): Abort if a non-offsettable
......
...@@ -2913,10 +2913,11 @@ ...@@ -2913,10 +2913,11 @@
if ((GET_CODE (base = XEXP (operands[1], 0)) == REG if ((GET_CODE (base = XEXP (operands[1], 0)) == REG
|| (GET_CODE (base) == PLUS || (GET_CODE (base) == PLUS
&& GET_CODE (offset = XEXP (base, 1)) == CONST_INT && GET_CODE (offset = XEXP (base, 1)) == CONST_INT
&& ((INTVAL(offset) & 1) != 1)
&& GET_CODE (base = XEXP (base, 0)) == REG)) && GET_CODE (base = XEXP (base, 0)) == REG))
&& REGNO_POINTER_ALIGN (REGNO (base)) >= 4) && REGNO_POINTER_ALIGN (REGNO (base)) >= 4)
{ {
HOST_WIDE_INT new_offset = INTVAL (offset) & ~2; HOST_WIDE_INT new_offset = INTVAL (offset) & ~3;
rtx new; rtx new;
new = gen_rtx_MEM (SImode, new = gen_rtx_MEM (SImode,
......
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