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: PING: PATCH [4/n]: Prepare x32: Permute the conversion and addition if one operand is a constant


Il 29/05/2014 19:20, pinskia@gmail.com ha scritto:
What is your Pmode?

Pmode is dimode while ptr_mode is simode.  Pointers are zero extended when converting between si and di modes.

As you noted, the fundamental difference between x32 and aarch64 is that aarch64 will still use 64-bit accesses instead of 32-bit. Did you define the VALID_POINTER_MODE hook to rule out Pmode as a valid pointer mode? Perhaps you can use it to make this transformation conditional on VALID_POINTER_MODE(Pmode).

Paolo


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