[Bug tree-optimization/89809] movzwl is not utilized when uint16_t is loaded with bit-shifts (while memcpy does)

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 24 17:17:00 GMT 2019


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

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-24
          Component|target                      |tree-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Strange, the bswap pass is supposed to handle 16 bits just as well as 32.
The shift is done in type 'int', maybe the mix between int and short confuses
it.


More information about the Gcc-bugs mailing list