From owner-freebsd-arch@FreeBSD.ORG Tue Oct 23 14:54:26 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 968C7F8E; Tue, 23 Oct 2012 14:54:26 +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 0947A8FC0C; Tue, 23 Oct 2012 14:54:25 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q9NEsURT054770; Tue, 23 Oct 2012 17:54:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q9NEsIG9024259; Tue, 23 Oct 2012 17:54:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q9NEsIcm024258; Tue, 23 Oct 2012 17:54:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 23 Oct 2012 17:54:18 +0300 From: Konstantin Belousov To: John Baldwin Subject: Re: using SSE2 in kernel C code (improving AES-NI module) Message-ID: <20121023145418.GV35915@deviant.kiev.zoral.com.ua> References: <20121019233833.GS1967@funkthat.com> <20121021061011.GG35915@deviant.kiev.zoral.com.ua> <20121023070417.GD1563@funkthat.com> <201210230834.20167.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2yGx+1UeQj0dgFI1" Content-Disposition: inline In-Reply-To: <201210230834.20167.jhb@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 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: John-Mark Gurney , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 14:54:26 -0000 --2yGx+1UeQj0dgFI1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 23, 2012 at 08:34:20AM -0400, John Baldwin wrote: > On Tuesday, October 23, 2012 3:04:17 am John-Mark Gurney wrote: > > Konstantin Belousov wrote this message on Sun, Oct 21, 2012 at 09:10 +0= 300: > > > Most likely, you can put the ${CFLAGS} on the command line, followed > > > by -msse -msse2. > >=20 > > I can't use CFLAGS because it removes access to the xmmintrin.h header > > file... It looks like an option is to use: > > -fpic ${OPTFLAGS:C/^-O2$/-O3/} ${DEBUG} >=20 > Err, shouldn't later options override new ones? If you have > "${CFLAGS} -msse -msse2 -maes" does that not work? =20 It is -nostdinc which cause issue for John-Mark. The header probably still shall not be used. --2yGx+1UeQj0dgFI1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlCGr5oACgkQC3+MBN1Mb4gpcgCePjBgXPozAQaQ7YQ8Tx1Rb6SD wiQAoMV6x0Jri+jl97mnWX39mrYlN5sh =+FBy -----END PGP SIGNATURE----- --2yGx+1UeQj0dgFI1--