From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14666 invoked by alias); 20 Jun 2011 20:58:36 -0000 Received: (qmail 14658 invoked by uid 22791); 20 Jun 2011 20:58:36 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_TM X-Spam-Check-By: sourceware.org Received: from mail-iy0-f175.google.com (HELO mail-iy0-f175.google.com) (209.85.210.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 20 Jun 2011 20:58:21 +0000 Received: by iym10 with SMTP id 10so2040084iym.20 for ; Mon, 20 Jun 2011 13:58:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.148.1 with SMTP id p1mr6473540icv.319.1308603500362; Mon, 20 Jun 2011 13:58:20 -0700 (PDT) Received: by 10.42.228.199 with HTTP; Mon, 20 Jun 2011 13:58:20 -0700 (PDT) In-Reply-To: References: <4DFA3421.6020603@redhat.com> <1308579588.5273.1.camel@oc2474580526.ibm.com> Date: Mon, 20 Jun 2011 21:05:00 -0000 Message-ID: Subject: Re: [PATCH][RFC][1/2] Bitfield lowering, add BIT_FIELD_EXPR From: Andrew Pinski To: Richard Guenther Cc: "William J. Schmidt" , Richard Henderson , Richard Guenther , gcc-patches@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2011-06/txt/msg01532.txt.bz2 On Mon, Jun 20, 2011 at 1:54 PM, Richard Guenther wrote: > Yeah, well. =C2=A0We have mostly no target dependency in those gimple > statement speed/size cost metric, so the above 3 is matching > how the expansion to gimple shift/mask stmts would measure. Except RTH has mentioned there is already a way to expand it using that one instruction (insv and such). So I think you can measure it without a target hook really. Thanks, Andrew Pinski