i960.c (i960_address_cost): MEMA operands with positive offsets < 4096 are free.
Fri Jul 10 11:50:43 EDT 1998 Andrew MacLeod <amacleod@cygnus.com> * config/i960/i960.c (i960_address_cost): MEMA operands with positive offsets < 4096 are free. From-SVN: r21051
This commit is contained in:
parent
1d8cc6e9f4
commit
3410b2f389
@ -1,3 +1,8 @@
|
||||
Fri Jul 10 11:50:43 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
|
||||
|
||||
* config/i960/i960.c (i960_address_cost): MEMA operands with
|
||||
positive offsets < 4096 are free.
|
||||
|
||||
Fri Jul 10 12:34:37 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||
|
||||
* config/m68k/m68k.c (const_uint32_operand): Recognize
|
||||
|
@ -531,6 +531,12 @@ i960_address_cost (x)
|
||||
if (GET_CODE (x) == REG)
|
||||
return 1;
|
||||
#endif
|
||||
/* This is a MEMA operand -- it's free. */
|
||||
if (GET_CODE (x) == CONST_INT
|
||||
&& INTVAL (x) >= 0
|
||||
&& INTVAL (x) < 4096)
|
||||
return 0;
|
||||
|
||||
if (GET_CODE (x) == PLUS)
|
||||
{
|
||||
rtx base = XEXP (x, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user