From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12951 invoked by alias); 23 Mar 2007 13:02:03 -0000 Received: (qmail 12942 invoked by uid 22791); 23 Mar 2007 13:02:01 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 23 Mar 2007 13:01:57 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l2ND1rS9031344; Fri, 23 Mar 2007 09:01:53 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l2ND1qGA019963; Fri, 23 Mar 2007 09:01:52 -0400 Received: from [10.11.14.54] (vpn-14-54.rdu.redhat.com [10.11.14.54]) by potter.sfbay.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l2ND1oUZ028575; Fri, 23 Mar 2007 09:01:51 -0400 Message-ID: <4603DDCF.2010501@redhat.com> Date: Fri, 23 Mar 2007 13:02:00 -0000 From: Dave Brolley User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) MIME-Version: 1.0 To: Chuan-Hua Chang CC: cgen@sourceware.org Subject: Re: generated decoder code question References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00068.txt.bz2 Chuan-Hua Chang wrote: > > When looking at the M32R decode function, the IF-statement is absent > from the decoder code. This lets me wonder that if there is a way to > remove this redundant IF-statement check in the CGEN flow. > This is likely a case where all of the decodable bits have already been tested in reaching that particular case. Dave