This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bit extract adjust_address versus scheduler


On Thu, May 01, 2003 at 07:19:53PM -0400, Jim Wilson wrote:
> Why is the existing code in mips.md that sets MEM_SIZE not working?

#define MEM_SIZE(RTX)                                                   \
(MEM_ATTRS (RTX) != 0 ? MEM_ATTRS (RTX)->size                           \
 : GET_MODE (RTX) != BLKmode ? GEN_INT (GET_MODE_SIZE (GET_MODE (RTX))) \
 : 0)

Note that the MEM_ATTRS size is ignored when the memory
doesn't have BLKmode.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]