aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-07-23 12:10:26 +0000
committerAndy Polyakov <appro@openssl.org>2011-07-23 12:10:26 +0000
commit2667162d33ab21b6477f224040106c1d460e9249 (patch)
treec8e9f3a14e231548da39a9c552109c9dececeb7c /doc
parent66b86a4fd5168227e12604049015c8f4fbb2b485 (diff)
downloadopenssl-2667162d33ab21b6477f224040106c1d460e9249.tar.gz
cryptlib.c: OPENSSL_ia32cap environment variable to interpret ~ as cpuid mask.
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/OPENSSL_ia32cap.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/crypto/OPENSSL_ia32cap.pod b/doc/crypto/OPENSSL_ia32cap.pod
index 17189ed843..16f500fc76 100644
--- a/doc/crypto/OPENSSL_ia32cap.pod
+++ b/doc/crypto/OPENSSL_ia32cap.pod
@@ -61,10 +61,10 @@ capable CPU, but under control of OS that does not enable XMM
registers. Even though you can manipulate the value programmatically,
you most likely will find it more appropriate to set up an environment
variable with the same name prior starting target application, e.g. on
-Intel P4 processor 'env OPENSSL_ia32cap=0x16980010 apps/openssl', to
-achieve same effect without modifying the application source code.
-Alternatively you can reconfigure the toolkit with no-sse2 option and
-recompile.
+Intel P4 processor 'env OPENSSL_ia32cap=0x16980010 apps/openssl', or
+better yet 'env OPENSSL_ia32cap=~0x1000000 apps/openssl' to achieve same
+effect without modifying the application source code. Alternatively you
+can reconfigure the toolkit with no-sse2 option and recompile.
Less intuituve is clearing bit #28. The truth is that it's not copied
from CPUID output verbatim, but is adjusted to reflect whether or not