[Bug tree-optimization/66012] Sub-optimal 64bit load is generated instead of zero-extension

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 5 07:12:00 GMT 2015


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
In GIMPLE that masking is generally useless though, you shift the bits away,
and without the extra BIT_AND_EXPR the expression is more canonical and
shorter.
So, supposedly during expansion or combine you could figure this from the left
shift with large shift count.



More information about the Gcc-bugs mailing list