From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28247 invoked by alias); 4 Dec 2001 19:25:47 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 28126 invoked from network); 4 Dec 2001 19:25:33 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 4 Dec 2001 19:25:33 -0000 Received: from localhost.localdomain (taarna.cygnus.com [205.180.230.102]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id LAA24762 for ; Tue, 4 Dec 2001 11:25:32 -0800 (PST) Received: (from aldyh@localhost) by localhost.localdomain (8.11.6/8.11.6) id fB4JSXD24752; Tue, 4 Dec 2001 11:28:33 -0800 X-Authentication-Warning: localhost.localdomain: aldyh set sender to aldyh@redhat.com using -f Subject: Re: Target-specific Front-Ends? (Was: front end changes for From: Aldy Hernandez To: Alex Rosenberg Cc: Mark Mitchell , Ziemowit Laski , "Joseph S. Myers" , Joe Buck , egcs In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: Tue, 04 Dec 2001 11:25:00 -0000 Message-Id: <1007494113.27054.3.camel@litecycle.cc.andrews.edu> Mime-Version: 1.0 X-SW-Source: 2001-12/txt/msg00143.txt.bz2 > Shortly before MW shipped their first AltiVec support release, they switched > over to the context-sensitive "vector" method (2.2.2). Pretty much every > line of existing AltiVec code uses "vector" in this way. > > It seems to me that a major problem with target-dependant front-end > extensions like this is that the front-ends are automatically built from a > grammar and installers aren't required to have those tools. > > Would the new C++ front-end make this less difficult? the consensus on a least intrusive method, is to have "__vector" expand to "__attribute__((vector_size(n))". this way, no changes are needed to the front end per se. and yes, we will require you to include > > +------------------------------------------------------------+ > | Alexander M. Rosenberg | > | Nobody cares what I say. Remove the underscore to mail me. | > -- Aldy Hernandez E-mail: aldyh@redhat.com Professional Gypsy Red Hat, Inc.