⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 openssl_ia32cap.pod

📁 OpenSSL 0.9.8k 最新版OpenSSL
💻 POD
字号:
=pod=head1 NAMEOPENSSL_ia32cap - finding the IA-32 processor capabilities=head1 SYNOPSIS unsigned long *OPENSSL_ia32cap_loc(void); #define OPENSSL_ia32cap (*(OPENSSL_ia32cap_loc()))=head1 DESCRIPTIONValue returned by OPENSSL_ia32cap_loc() is address of a variablecontaining IA-32 processor capabilities bit vector as it appears in EDXregister after executing CPUID instruction with EAX=1 input value (seeIntel Application Note #241618). Naturally it's meaningful on IA-32[E]platforms only. The variable is normally set up automatically upontoolkit initialization, but can be manipulated afterwards to modifycrypto library behaviour. For the moment of this writing six bits aresignificant, namely:1. bit #28 denoting Hyperthreading, which is used to distiguish   cores with shared cache;2. bit #26 denoting SSE2 support;3. bit #25 denoting SSE support;4. bit #23 denoting MMX support;5. bit #20, reserved by Intel, is used to choose between RC4 code   pathes;6. bit #4 denoting presence of Time-Stamp Counter.For example, clearing bit #26 at run-time disables high-performanceSSE2 code present in the crypto library. You might have to do this iftarget OpenSSL application is executed on SSE2 capable CPU, but undercontrol of OS which does not support SSE2 extentions. Even though youcan manipulate the value programmatically, you most likely will find itmore appropriate to set up an environment variable with the same nameprior starting target application, e.g. on Intel P4 processor 'envOPENSSL_ia32cap=0x12900010 apps/openssl', to achieve same effectwithout modifying the application source code. Alternatively you canreconfigure the toolkit with no-sse2 option and recompile.=cut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -