Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-17 Thread Bjoern A. Zeeb
On Tue, 3 Sep 2013, John-Mark Gurney wrote: Author: jmg Date: Tue Sep 3 18:31:23 2013 New Revision: 255187 URL: http://svnweb.freebsd.org/changeset/base/255187 Log: Use the fact that the AES-NI instructions can be pipelined to improve performance... Use SSE2 instructions for calculating the

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-17 Thread Bjoern A. Zeeb
On Tue, 17 Sep 2013, John-Mark Gurney wrote: Bjoern A. Zeeb wrote this message on Tue, Sep 17, 2013 at 19:26 +: On Tue, 3 Sep 2013, John-Mark Gurney wrote: + * + */ + +#include wmmintrin.h + This pulls in a header from user space, in fact from clang, and if cross-building without

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-17 Thread John-Mark Gurney
Bjoern A. Zeeb wrote this message on Tue, Sep 17, 2013 at 19:26 +: On Tue, 3 Sep 2013, John-Mark Gurney wrote: Author: jmg Date: Tue Sep 3 18:31:23 2013 New Revision: 255187 URL: http://svnweb.freebsd.org/changeset/base/255187 Log: Use the fact that the AES-NI instructions can be

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread David O'Brien
On Tue, Sep 03, 2013 at 06:31:23PM +, John-Mark Gurney wrote: Log: Use the fact that the AES-NI instructions can be pipelined to improve performance... Use SSE2 instructions for calculating the XTS tweek factor... Let the compiler do more work and handle register allocation by

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread John-Mark Gurney
David O'Brien wrote this message on Mon, Sep 09, 2013 at 23:01 -0700: On Tue, Sep 03, 2013 at 06:31:23PM +, John-Mark Gurney wrote: Log: Use the fact that the AES-NI instructions can be pipelined to improve performance... Use SSE2 instructions for calculating the XTS tweek

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread Konstantin Belousov
On Mon, Sep 09, 2013 at 11:41:49PM -0700, John-Mark Gurney wrote: David O'Brien wrote this message on Mon, Sep 09, 2013 at 23:01 -0700: On Tue, Sep 03, 2013 at 06:31:23PM +, John-Mark Gurney wrote: Log: Use the fact that the AES-NI instructions can be pipelined to improve

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread David O'Brien
On Mon, Sep 09, 2013 at 11:41:49PM -0700, John-Mark Gurney wrote: David O'Brien wrote this message on Mon, Sep 09, 2013 at 23:01 -0700: Please back that out until you have an understand of what the real problem is... Folks use FreeBSD for real work -- I have a window of opportunity to install

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread John Baldwin
On Tuesday, September 10, 2013 12:51:27 pm David O'Brien wrote: On Mon, Sep 09, 2013 at 11:41:49PM -0700, John-Mark Gurney wrote: David O'Brien wrote this message on Mon, Sep 09, 2013 at 23:01 -0700: Please back that out until you have an understand of what the real problem is... Folks

svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-03 Thread John-Mark Gurney
Author: jmg Date: Tue Sep 3 18:31:23 2013 New Revision: 255187 URL: http://svnweb.freebsd.org/changeset/base/255187 Log: Use the fact that the AES-NI instructions can be pipelined to improve performance... Use SSE2 instructions for calculating the XTS tweek factor... Let the compiler do