From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23131 invoked by alias); 19 Jun 2008 12:43:56 -0000 Received: (qmail 23123 invoked by uid 22791); 19 Jun 2008 12:43:56 -0000 X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.169) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Jun 2008 12:43:34 +0000 Received: by wf-out-1314.google.com with SMTP id 25so746217wfc.14 for ; Thu, 19 Jun 2008 05:43:32 -0700 (PDT) Received: by 10.142.78.10 with SMTP id a10mr885963wfb.37.1213879412599; Thu, 19 Jun 2008 05:43:32 -0700 (PDT) Received: by 10.150.152.8 with HTTP; Thu, 19 Jun 2008 05:43:32 -0700 (PDT) Message-ID: Date: Thu, 19 Jun 2008 12:50:00 -0000 From: "Gunnar Von Boehn" To: "Andreas Schwab" Subject: Re: Fix for GCC Bugzilla Bug 36133 Cc: gcc-patches@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-06/txt/msg01264.txt.bz2 Hallo Andreas, > The carry flag is used by bhi/bls, which are generated by the gtu/ltu > patterns. Can GCC create a BHI instructions that follows a LSR ? Honestly, I fail to see the possibility for this in GCC. Doesn't the BCC created by GCC behave like a BCC after a TST against ZERO? Isn't it true that such a BCC would never be a BHI but always a BNE or BEQ ? If you think its somehow possible to get GCC to create a BHI then please be so kind and help me to understand this and please give a C-example. Kind regards Gunnar