From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7744 invoked by alias); 15 Jun 2006 16:20:35 -0000 Received: (qmail 7733 invoked by uid 22791); 15 Jun 2006 16:20:32 -0000 X-Spam-Check-By: sourceware.org Received: from potter.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 Jun 2006 16:20:31 +0000 Received: (qmail 18076 invoked from network); 15 Jun 2006 16:20:29 -0000 Received: from unknown (HELO 81-178-237-90.dsl.pipex.com) (paul@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Jun 2006 16:20:29 -0000 From: Paul Brook To: binutils@sourceware.org Subject: Re: PATCH: Add --alt-nops=short|long to x86/x86-64 assemblers Date: Thu, 15 Jun 2006 17:08:00 -0000 User-Agent: KMail/1.9.1 Cc: "H. J. Lu" , Nick Clifton References: <20060613190254.GB21884@lucon.org> <200606151615.03652.paul@codesourcery.com> <20060615152822.GA7817@lucon.org> In-Reply-To: <20060615152822.GA7817@lucon.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606151720.28010.paul@codesourcery.com> Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00251.txt.bz2 > > > x86/x86-64 assembler support .arch. But I don't think gcc uses it. I > > > am not sure how well it will work with existing code bases if gcc > > > starts generating .arch. > > I was talking about the code like > > asm ("some SSE instruction"); > > If gcc starts to generate ".arch i686", the code above won't compile > any more. I'd say that code is broken. You'd have the same problem if you implemented the commandline options. I don't really see why x86 is any different to other architectures in this respect. Paul