Re: SSE2 code in OpenSSL

2004-05-21 Thread Verdon Walker
I queried a guru here at work and got the following response:   It is the responsibility of the OS to indicate to the CPU that it supports SSE2 instructions by setting the OSFXSR bit in CR4.  If they are running a legacy OS that doesn't support SSE2 (meaning that it isn't using the FXSAVE and FXR

Re: SSE2 code in OpenSSL

2004-05-21 Thread Andy Polyakov
... Does anybody know answer by hard Wow! Of course I meant "by heart." or has a system with some legacy OS in her/his disposal we could test this on? Test won't require access to the system over Internet or similar. You'll be asked to compile couple of trivial code snippets and execut

SSE2 code in OpenSSL

2004-05-21 Thread Andy Polyakov
A work is being done toward adopting IA-32 SSE2 code pathes in OpenSSL: bn_mul_add_words and SHA-512 at present. Whether or not a path is taken is decided at run-time. Formally the decision is be taken upon two factors: CPU capability and kernel support for SSE extentions. As it doesn't appear