From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11220 invoked by alias); 10 Jun 2008 14:39:21 -0000 Received: (qmail 11212 invoked by uid 22791); 10 Jun 2008 14:39:20 -0000 X-Spam-Check-By: sourceware.org Received: from yx-out-1718.google.com (HELO yx-out-1718.google.com) (74.125.44.157) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jun 2008 14:38:58 +0000 Received: by yx-out-1718.google.com with SMTP id 36so226036yxh.26 for ; Tue, 10 Jun 2008 07:38:56 -0700 (PDT) Received: by 10.142.180.19 with SMTP id c19mr2090162wff.184.1213108735193; Tue, 10 Jun 2008 07:38:55 -0700 (PDT) Received: from lucon.org ( [76.252.222.99]) by mx.google.com with ESMTPS id 29sm21770293wfg.0.2008.06.10.07.38.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Jun 2008 07:38:53 -0700 (PDT) Received: by lucon.org (Postfix, from userid 500) id 718279801BE; Tue, 10 Jun 2008 07:38:50 -0700 (PDT) Date: Tue, 10 Jun 2008 14:39:00 -0000 To: Paolo Carlini Cc: "Joseph S. Myers" , Luke Dalessandro , gcc@gcc.gnu.org Subject: Re: Using __sync_* builtins within libgcc code Message-ID: <20080610143850.GA3997@lucon.org> References: <484DF34C.5040005@cs.rochester.edu> <484E21D5.4020201@oracle.com> <484E7325.5050205@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <484E7325.5050205@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) From: "H.J. Lu" 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: 2008-06/txt/msg00235.txt.bz2 On Tue, Jun 10, 2008 at 02:27:17PM +0200, Paolo Carlini wrote: > Joseph S. Myers wrote: >> I hold that it is a bug that i686-* tools default to -march=i386 instead >> of -march=i686 (whereas e.g. sparcv9-* tools default to -mcpu=sparcv9, and >> -mcpu means -march for SPARC). > Seconded. > What arch should be used for -m32 on x86-64? Personally, I think it should be at least i686, if not SSE2. H.J.