From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 2 06:37:05 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 8C186106566B; Mon, 2 Jan 2012 06:37:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1518FC12; Mon, 2 Jan 2012 06:37:04 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q026b0Ld000197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Jan 2012 08:37:00 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id q026b00h035389; Mon, 2 Jan 2012 08:37:00 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id q026b0Q8035388; Mon, 2 Jan 2012 08:37:00 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 2 Jan 2012 08:37:00 +0200 From: Kostik Belousov To: amd64@freebsd.org, arch@freebsd.org Message-ID: <20120102063700.GF50300@deviant.kiev.zoral.com.ua> References: <20111226220756.GR50300@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q4D258xU9PSURnuy" Content-Disposition: inline In-Reply-To: <20111226220756.GR50300@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: sparc64@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: Mon, 02 Jan 2012 06:37:05 -0000 --Q4D258xU9PSURnuy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The patch http://people.freebsd.org/~kib/misc/avx.2.patch is the commit candidate. Compared with avx.1.patch, it includes several bugfixes, some move of code around, and finishes the implementation of getcontextx(3) for non-x86 architectures. Please note that variant of getcontextx() is required for deferred signal delivery from libthr. This is the reason for Cc:ing sparc64@, could somebody test the patch on this architecture ? I used the http://people.freebsd.org/~kib/misc/defer_sig.c to test deferred delivery on amd64. Another missed testing point is machines capable of XSAVE but lacking AVX extensions. I think most Core2 fall into this category, but my Core2 machine is disassembled. Could anybody test the patch on non-SandyBridge machine having XSAVE support ? You can check the capability using ports/sysutils/x86info or looking at the early boot Features2 line, which shall contain the XSAVE. --Q4D258xU9PSURnuy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk8BUIwACgkQC3+MBN1Mb4j9SACeMjU7gPmMcjeZlS8tCvAmcSsm X/gAoM4VHWXd9gcE+xET40nPQVxZMi8f =mvHZ -----END PGP SIGNATURE----- --Q4D258xU9PSURnuy--