From owner-svn-src-head@FreeBSD.ORG Sat Feb 23 22:19:50 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5D951698; Sat, 23 Feb 2013 22:19:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 01544800; Sat, 23 Feb 2013 22:19:49 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:204:4bff:fe01:de8a] (spaceball.andric.com [IPv6:2001:7b8:3a7:0:204:4bff:fe01:de8a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 781325C43; Sat, 23 Feb 2013 23:19:40 +0100 (CET) Message-ID: <51294081.1060505@FreeBSD.org> Date: Sat, 23 Feb 2013 23:19:45 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20130117 Thunderbird/19.0 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: svn commit: r247166 - head/contrib/llvm/tools/clang/lib/Driver References: <201302222240.r1MMeAsu042087@svn.freebsd.org> <20130222235332.GB2454@kib.kiev.ua> <5128AED6.2020906@FreeBSD.org> <20130223201857.GD2454@kib.kiev.ua> In-Reply-To: <20130223201857.GD2454@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 22:19:50 -0000 On 2013-02-23 21:18, Konstantin Belousov wrote: ... > Let me rephrase my question. > > What is the processor targeted by the cc on i386, when no -march flag is > specified, for cc coming from clang, for both .c and .s files. Lets ignore > known bugs, like long nops or cmovs. For i386 arch on FreeBSD, the default has always been i486. The cc1 stage, which compiles .c and .cpp to .o files, uses either this default target CPU, or otherwise the CPU specified on the command line. The cc1as stage, which assembles .s to .o files, only uses the target CPU setting to determine whether to emit long nops or not, at least on x86 arch. After the last fix, the default target is i486, so it will not emit long nops either, unless a higher CPU is specified.