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

📄 openssl_ia32cap.pod

📁 开源的ssl算法openssl,版本0.9.8H
💻 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 three bits aresignificant, namely bit #28 denoting Hyperthreading, which is used todistinguish Intel P4 core, bit #26 denoting SSE2 support, and bit #4denoting presence of Time-Stamp Counter. Clearing bit #26 at run-timefor example disables high-performance SSE2 code present in the cryptolibrary. You might have to do this if target OpenSSL application isexecuted on SSE2 capable CPU, but under control of OS which does notsupport SSE2 extentions. Even though you can manipulate the valueprogrammatically, you most likely will find it more appropriate to setup an environment variable with the same name prior starting targetapplication, e.g. 'env OPENSSL_ia32cap=0x10 apps/openssl', to achievesame effect without modifying the application source code.Alternatively you can reconfigure the toolkit with no-sse2 option andrecompile.=cut

⌨️ 快捷键说明

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