This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug rtl-optimization/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 21:03:53 -0000
- Subject: [Bug rtl-optimization/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 21:03 -------
Thanks for the response.
I'm not too concerned in the short run -- we've had this bug for a
long time.
I neglected to mention that in java a long (64 bit, i.e. long << int)
shift uses "& 63" (as one would expect). I didn't look to see
what kind of code this generates or whether it can be further optimized.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17731