From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30436 invoked by alias); 12 May 2010 16:39:36 -0000 Received: (qmail 30428 invoked by uid 22791); 12 May 2010 16:39:36 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-ww0-f47.google.com (HELO mail-ww0-f47.google.com) (74.125.82.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 12 May 2010 16:39:31 +0000 Received: by wwb39 with SMTP id 39so159172wwb.20 for ; Wed, 12 May 2010 09:39:28 -0700 (PDT) Received: by 10.227.136.4 with SMTP id p4mr7135807wbt.5.1273682368329; Wed, 12 May 2010 09:39:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.232.234 with HTTP; Wed, 12 May 2010 09:39:08 -0700 (PDT) In-Reply-To: References: From: "Paulo J. Matos" Date: Wed, 12 May 2010 16:39:00 -0000 Message-ID: Subject: Re: Coverage of backend rules To: Ian Lance Taylor Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg00224.txt.bz2 On Tue, May 11, 2010 at 3:26 PM, Ian Lance Taylor wrote: > For define_insn you can use the -da option, and scan the debug files > for the matched insn names. =C2=A0For define_expand you can reliably use > profiling information to look for calls to gen_NAME. > > This approach won't tell you whether you are testing all alternatives > of all define_insns. =C2=A0I don't know of a reasonable way to do that. > Thanks for the tips. I will give it a go at trying to automate this. Cheers, --=20 PMatos