[Bug target/17731] sub-optimal code generated for left shift

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 29 18:14:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-29 18:14 -------
Then the easy way to do that would add a pattern in the machine description for
(ashift:SI () (and:SI () (const_int 31 [0x1f])))
and let combine do its job but note we are masking 4 bits and not 5 out so we still will get different 
answers than what we are expecting.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17731



More information about the Gcc-bugs mailing list