[Bug tree-optimization/66012] Sub-optimal 64bit load is generated instead of zero-extension
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 21 09:18:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66012
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2015-12-23 00:00:00 |2016-9-21
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
On the trunk we generate one 32bit load and one 64bit load (at least for
aarch64):
test:
adrp x0, l
add x1, x0, :lo12:l
ldr w0, [x0, #:lo12:l] ; 32bit load to w0
ldr x1, [x1, 8] ; 64bit load to x1
orr x0, x0, x1, lsl 32
ret
More information about the Gcc-bugs
mailing list