From owner-svn-src-head@FreeBSD.ORG Tue Jul 30 13:34:20 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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 70F37DB6; Tue, 30 Jul 2013 13:34:20 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 219382430; Tue, 30 Jul 2013 13:34:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1V4A3y-00067J-Qf; Tue, 30 Jul 2013 17:34:07 +0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:Date:X-TorMail-User:Content-Type:MIME-Version:References:In-Reply-To:Subject:Cc:To:From; bh=FlhwNzIFBtM01a2pXPdmlI+/7o88nzfMloGShlamxQM=; b=UUQu85Jt8ZqEQGn4OuzZqB2Qemu9p8Db1s21YGaCHzzzGGeUMxdo30ejqeODk/P2GERIQs29/2So3V/xyNKjUnhtXSoLsfNK541GYF7vqSy/yaS+j0DoU0p7DUlEW3HMyfCAmd2zO2NAmaWTV4ZLV4U3qI/k3w9gSjSCQuJaXTA=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1V4A3i-000M2D-6A; Tue, 30 Jul 2013 13:33:51 +0000 From: Jan Beich To: Dimitry Andric Subject: Re: svn commit: r253802 - head/contrib/llvm/tools/clang/lib/Headers In-Reply-To: <201307301233.r6UCXLT8012177@svn.freebsd.org> (Dimitry Andric's message of "Tue, 30 Jul 2013 12:33:21 +0000 (UTC)") References: <201307301233.r6UCXLT8012177@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Date: Tue, 30 Jul 2013 13:33:51 +0000 Message-Id: <1V4A3i-000M2D-6A@internal.tormail.org> 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: Tue, 30 Jul 2013 13:34:20 -0000 Dimitry Andric writes: > Author: dim > Date: Tue Jul 30 12:33:21 2013 > New Revision: 253802 > URL: http://svnweb.freebsd.org/changeset/base/253802 > > Log: > Pull in r186696 from upstream clang trunk: > > This patch implements __get_cpuid_max() as an inline and __cpuid() > and __cpuid_count() as macros to be compatible with GCC's cpuid.h. [...] > +#define bit_SSE41 0x00080000 > +#define bit_SSE42 0x00100000 GCC's spelling is different $ fgrep -r bit_SSE4 /usr/local/lib/gcc48/**/ /usr/local/lib/gcc48/**/cpuid.h:#define bit_SSE4_1 (1 << 19) /usr/local/lib/gcc48/**/cpuid.h:#define bit_SSE4_2 (1 << 20) /usr/local/lib/gcc48/**/cpuid.h:#define bit_SSE4a (1 << 6) Even Clang's own from -msse* $ clang -dM -E -march=btver2 -