From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24303 invoked by alias); 18 Oct 2011 17:54:00 -0000 Received: (qmail 24288 invoked by uid 22791); 18 Oct 2011 17:53:58 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Oct 2011 17:53:44 +0000 Received: from wpaz21.hot.corp.google.com (wpaz21.hot.corp.google.com [172.24.198.85]) by smtp-out.google.com with ESMTP id p9IHrgIL015636 for ; Tue, 18 Oct 2011 10:53:43 -0700 Received: from vws15 (vws15.prod.google.com [10.241.21.143]) by wpaz21.hot.corp.google.com with ESMTP id p9IHpgNa030783 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 18 Oct 2011 10:53:41 -0700 Received: by vws15 with SMTP id 15so1005849vws.10 for ; Tue, 18 Oct 2011 10:53:41 -0700 (PDT) Received: by 10.150.69.4 with SMTP id r4mr3275627yba.53.1318960421806; Tue, 18 Oct 2011 10:53:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.69.4 with SMTP id r4mr3275602yba.53.1318960421573; Tue, 18 Oct 2011 10:53:41 -0700 (PDT) Received: by 10.151.26.19 with HTTP; Tue, 18 Oct 2011 10:53:41 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Oct 2011 17:54:00 -0000 Message-ID: Subject: Re: Complex half-word operations From: Ian Lance Taylor To: Ayonam Ray Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg00174.txt.bz2 On Tue, Oct 18, 2011 at 10:46 AM, Ayonam Ray wrote: > > Also, don't you think I need to add similar support to the other > passes down the line so that they understand the operation? =A0Any > pointers there? This is an RTL level thing. The RTL level doesn't have any real understand= ing of its operations anyhow. The combine pass implements optimizations by sim= ply looking at patterns defined in the backend. So while its possible that you= will need to add a few tweaks here and there, I would not expect that anything major would be required once you're generating the right patterns. Ian