From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13009 invoked by alias); 15 Oct 2009 16:37:54 -0000 Received: (qmail 12999 invoked by uid 22791); 15 Oct 2009 16:37:53 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Oct 2009 16:37:47 +0000 Received: from spaceape11.eur.corp.google.com (spaceape11.eur.corp.google.com [172.28.16.145]) by smtp-out.google.com with ESMTP id n9FGbj6q008154 for ; Thu, 15 Oct 2009 17:37:45 +0100 Received: from fxm23 (fxm23.prod.google.com [10.184.13.23]) by spaceape11.eur.corp.google.com with ESMTP id n9FGbgoW024450 for ; Thu, 15 Oct 2009 09:37:43 -0700 Received: by fxm23 with SMTP id 23so1329853fxm.6 for ; Thu, 15 Oct 2009 09:37:42 -0700 (PDT) Received: by 10.204.34.5 with SMTP id j5mr220830bkd.5.1255624662485; Thu, 15 Oct 2009 09:37:42 -0700 (PDT) Received: from coign.google.com (dhcp-172-22-124-228.mtv.corp.google.com [172.22.124.228]) by mx.google.com with ESMTPS id 12sm389864fks.8.2009.10.15.09.37.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 15 Oct 2009 09:37:40 -0700 (PDT) To: =?utf-8?B?5b2t5bu656ug?= Cc: gcc@gcc.gnu.org Subject: Re: help: standard name of vector mode References: <8ff4389f0910150249w8e2285bmadd2fcff1a7da516@mail.gmail.com> From: Ian Lance Taylor Date: Thu, 15 Oct 2009 18:26:00 -0000 In-Reply-To: <8ff4389f0910150249w8e2285bmadd2fcff1a7da516@mail.gmail.com> (=?utf-8?B?IuW9reW7uueroCIncw==?= message of "Thu\, 15 Oct 2009 17\:49\:32 +0800") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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: 2009-10/txt/msg00345.txt.bz2 =E5=BD=AD=E5=BB=BA=E7=AB=A0 writes: > I'm porting gcc , and use its autovectorization. > How can I know wether a standard name support a vector mode ? The standard names all have modes built into them. If you are porting gcc, then you need to write a define_expand or define_insn in your MD file with a standard name which incorporates the vector mode that you are using. Using the standard name will enable the middle-end of gcc to know about your operation. There are many examples in the existing gcc backends. Ian