* rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
From-SVN: r21873
This commit is contained in:
parent
7771032e79
commit
3345af62e8
@ -1,3 +1,7 @@
|
||||
Thu Aug 20 13:44:20 1998 David Edelsohn <edelsohn@mhpcc.edu>
|
||||
|
||||
* rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
|
||||
|
||||
Thu Aug 20 13:15:11 1998 Dave Brolley <brolley@cygnus.com>
|
||||
|
||||
* stor-layout.c (layout_type): Compute TYPE_SIZE_UNIT correctly for
|
||||
|
@ -5568,7 +5568,9 @@
|
||||
if (GET_CODE (operands[0]) != REG)
|
||||
operands[1] = force_reg (HImode, operands[1]);
|
||||
|
||||
if (CONSTANT_P (operands[1]) && GET_CODE (operands[1]) != CONST_INT)
|
||||
if (CONSTANT_P (operands[1])
|
||||
&& GET_CODE (operands[1]) != CONST_INT
|
||||
&& GET_CODE (operands[1]) != CONSTANT_P_RTX)
|
||||
{
|
||||
operands[1] = force_const_mem (HImode, operands[1]);
|
||||
if (! memory_address_p (HImode, XEXP (operands[1], 0))
|
||||
@ -5603,7 +5605,9 @@
|
||||
if (GET_CODE (operands[0]) != REG)
|
||||
operands[1] = force_reg (QImode, operands[1]);
|
||||
|
||||
if (CONSTANT_P (operands[1]) && GET_CODE (operands[1]) != CONST_INT)
|
||||
if (CONSTANT_P (operands[1])
|
||||
&& GET_CODE (operands[1]) != CONST_INT
|
||||
&& GET_CODE (operands[1]) != CONSTANT_P_RTX)
|
||||
{
|
||||
operands[1] = force_const_mem (QImode, operands[1]);
|
||||
if (! memory_address_p (QImode, XEXP (operands[1], 0))
|
||||
|
Loading…
Reference in New Issue
Block a user