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: [PATCH] mem-ref2 merge, core patch


On 06/28/2010 02:38 PM, Richard Guenther wrote:
ALIGN_INDIRECT_REF I will replace with

   ptr = ptr & mask;
   MEM_REF [ptr];

thus simply do what expansion replaces it with.

So you are relying on TER to put together the pieces, right (when it makes sense)? Furthermore, the MEM_REF will have -mask alignment thanks to the MISALIGNED_INDIRECT_REF infrastructure, and the misalignment info may in the future allow replacing the & with an offset in the MEM_REF. Makes sense, thanks!


Regarding the dumping question, it definitely can wait past merge, no matter how it is implemented.

Paolo


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