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

next in thread | previous in thread | raw e-mail | index | archive | help
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 +0300:
> > Most likely, you can put the ${CFLAGS} on the command line, followed
> > by -msse -msse2.
> 
> 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}

Err, shouldn't later options override new ones?  If you have
"${CFLAGS} -msse -msse2 -maes" does that not work?  

-- 
John Baldwin



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