This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]