From owner-freebsd-amd64@FreeBSD.ORG Tue Jan 10 09:54:16 2012 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94BCB106564A; Tue, 10 Jan 2012 09:54:16 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from mail.yamagi.org (unknown [IPv6:2a01:4f8:121:2102:1::7]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4868FC12; Tue, 10 Jan 2012 09:54:15 +0000 (UTC) Received: from happy.home.yamagi.org (g231180128.adsl.alicedsl.de [92.231.180.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yamagi.org (Postfix) with ESMTPSA id 6F6541666334; Tue, 10 Jan 2012 10:54:13 +0100 (CET) Date: Tue, 10 Jan 2012 10:54:03 +0100 From: Yamagi Burmeister To: kostikbel@gmail.com Message-Id: <20120110105403.f5a425a4.lists@yamagi.org> In-Reply-To: <20120109202214.GZ31224@deviant.kiev.zoral.com.ua> References: <20111226220756.GR50300@deviant.kiev.zoral.com.ua> <20120102063700.GF50300@deviant.kiev.zoral.com.ua> <20120108174112.50e030ba.lists@yamagi.org> <20120108195913.GI31224@deviant.kiev.zoral.com.ua> <20120109103747.578d4e44.lists@yamagi.org> <20120109202214.GZ31224@deviant.kiev.zoral.com.ua> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__10_Jan_2012_10_54_03_+0100_L.B.l=db+vIoMNs1" X-Mailman-Approved-At: Tue, 10 Jan 2012 12:12:36 +0000 Cc: amd64@freebsd.org, arch@freebsd.org, marius@freebsd.org, flo@freebsd.org Subject: Re: AVX X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2012 09:54:16 -0000 --Signature=_Tue__10_Jan_2012_10_54_03_+0100_L.B.l=db+vIoMNs1 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 9 Jan 2012 22:22:14 +0200 Kostik Belousov wrote: > > > > CPU: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz (2194.55-MHz > > > > K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x1067a Family =3D= 6 Model > > > > =3D 17 Stepping =3D 10 > > > > Features=3D0xbfebfbff > > > MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,P= BE> > > > > Features2=3D0x408e3bd > > > PDCM,SSE4.1,XSAVE> > > > > AMD Features=3D0x20100800 AMD Features2=3D0x1= =20 > > > Is this Features excerpt from the patched kernel, or from pristine svn > > > sources ? If the later, please show me the Features from the patched > > > kernel. > >=20 > > That was the output of the patched kernel. > I see. The issue was that cpu_feature2, which is decoded to print the > Features2 line, is retrieved much earlier then XCR0 is updated by > fpu initialization code. I added a cludge to reload cpu_feature2 if > XSAVE was indeed enabled. So now you should see OSXSAVE reported if > XSAVE is indeed enabled. Seems to be okay now: Features2=3D0xc08e3bd --=20 Homepage: www.yamagi.org XMPP: yamagi@yamagi.org GnuPG/GPG: 0xEFBCCBCB --Signature=_Tue__10_Jan_2012_10_54_03_+0100_L.B.l=db+vIoMNs1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk8MCsQACgkQWTjlg++8y8trmgCg5P3Gu9JU342L+r2YS4S8j8lF bX0AoNp3UmN9nZnTGN47QELh2c0xdHXQ =rMlb -----END PGP SIGNATURE----- --Signature=_Tue__10_Jan_2012_10_54_03_+0100_L.B.l=db+vIoMNs1--