This is the mail archive of the gcc@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: Will backend ever see an memory operand with address wrap around?


Quoting "H.J. Lu" <hjl.tools@gmail.com>:

Will x86 backend ever see a memory address with wrap around.

Actually, just this kind of problem made the indexed addressing mode for SH64 for the ABIs with 32 bit addresses unusable.

If your MMU supports it, you can try to map the second 4 GB * maximum scale
mapped to the first 4 GB, to get effectively zero-extending semantics for
the supported addressing modes.


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