This is the mail archive of the
mailing list for the GCC project.
Re: Will backend ever see an memory operand with address wrap around?
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Sun, 13 May 2012 21:13:18 -0400
- Subject: Re: Will backend ever see an memory operand with address wrap around?
- References: <CAMe9rOpTN5ZeLfiRvcmqRMqt=qJZ83AfO9KEZVas+u_sNs6Wdw@mail.gmail.com>
Quoting "H.J. Lu" <email@example.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.