[Bug rtl-optimization/70784] Merge multiple short stores of immediates into wider stores

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 25 09:41:00 GMT 2016


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

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

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Please see PR22141 which even had a RTL implementation (in the DSE pass).
I think it would be much better handling this (together with bitfields) in some
late GIMPLE pass as opposed to RTL pass.
And note that using movabsq instead of two movls on x86_64 is very likely a
pessimization as opposed to optimization, so one needs to watch the costs too.


More information about the Gcc-bugs mailing list