Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 17:54:18 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        John-Mark Gurney <jmg@funkthat.com>, freebsd-arch@freebsd.org
Subject:   Re: using SSE2 in kernel C code (improving AES-NI module)
Message-ID:  <20121023145418.GV35915@deviant.kiev.zoral.com.ua>
In-Reply-To: <201210230834.20167.jhb@freebsd.org>
References:  <20121019233833.GS1967@funkthat.com> <20121021061011.GG35915@deviant.kiev.zoral.com.ua> <20121023070417.GD1563@funkthat.com> <201210230834.20167.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121023145418.GV35915>