This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/17731] sub-optimal code generated for left shift
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 29 Sep 2004 18:09:35 -0000
- Subject: [Bug java/17731] sub-optimal code generated for left shift
- References: <20040929175802.17731.tromey@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tromey at gcc dot gnu dot org 2004-09-29 18:09 -------
Yes, that's fine.
The java front end generates trees like <shift op <and op 31>>.
I would like the extra "and" to be optimized out somewhere
along the way, on a target-specific basis.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17731