https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82339

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I always wondered if it is more efficient to have constant pools per function
in .text so we can do %rip relative loads with short displacement?

I suppose the assembler could even optimize things if there's the desired
constant somewhere near in the code itself... (in case data loads from icache
do not occur too much of a penalty).  The assembler could also replace
.palign space before function start with (small) constant(s).

Nothing we can really do given x86 has no idea of instruction sizes.

Reply via email to