https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
--- Comment #7 from Richard Earnshaw ---
Reload also had a hook TARGET_LEGITIMIZE_RELOAD_ADDRESS as well. But it had
the same problems - lack of context leading to guesswork and therefore too
local or too general fix-ups.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
--- Comment #6 from Richard Earnshaw ---
(In reply to rguent...@suse.de from comment #5)
> On Mon, 4 Nov 2019, rearnsha at gcc dot gnu.org wrote:
> I suspect TARGET_LEGITIMIZE_ADDRESS is only applied during
> reload/LRA, correct?
No, it's calle
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
--- Comment #5 from rguenther at suse dot de ---
On Mon, 4 Nov 2019, rearnsha at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
>
> --- Comment #4 from Richard Earnshaw ---
...
> But there's no real need to do this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
--- Comment #4 from Richard Earnshaw ---
So taking the example I posted in the initial report and compiling with trunk
for arm -mcpu=cortex-m4 -mthumb -Os, we get:
ldr r3, .L2
movsr2, #1
str r2, [r3, #2060]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
--- Comment #3 from rguenther at suse dot de ---
On Mon, 4 Nov 2019, rearnsha at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
>
> --- Comment #2 from Richard Earnshaw ---
> Very few micro-architectures would bene
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
--- Comment #2 from Richard Earnshaw ---
Very few micro-architectures would benefit from auto-inc style addressing in a
sequence like this. With modern super-scaler systems you want to use offset
addressing where possible (from a common base).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92308
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
Target|