From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27428 invoked by alias); 29 Sep 2004 21:03:54 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 27371 invoked by uid 48); 29 Sep 2004 21:03:53 -0000 Date: Wed, 29 Sep 2004 21:03:00 -0000 Message-ID: <20040929210353.27370.qmail@sourceware.org> From: "tromey at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20040929175802.17731.tromey@gcc.gnu.org> References: <20040929175802.17731.tromey@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug rtl-optimization/17731] sub-optimal code generated for left shift X-Bugzilla-Reason: CC X-SW-Source: 2004-q3/txt/msg00738.txt.bz2 List-Id: ------- 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