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
This commit is contained in:
Catherine Moore 1999-04-20 16:42:31 +00:00 committed by Catherine Moore
parent 76409268c4
commit 0f834f0a3e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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)
* i386.c (output_move_double): Abort if a non-offsettable

View File

@ -2913,10 +2913,11 @@
if ((GET_CODE (base = XEXP (operands[1], 0)) == REG
|| (GET_CODE (base) == PLUS
&& GET_CODE (offset = XEXP (base, 1)) == CONST_INT
&& ((INTVAL(offset) & 1) != 1)
&& GET_CODE (base = XEXP (base, 0)) == REG))
&& REGNO_POINTER_ALIGN (REGNO (base)) >= 4)
{
HOST_WIDE_INT new_offset = INTVAL (offset) & ~2;
HOST_WIDE_INT new_offset = INTVAL (offset) & ~3;
rtx new;
new = gen_rtx_MEM (SImode,