OLD | NEW |
1 %ifidn __OUTPUT_FORMAT__,obj | 1 %ifidn __OUTPUT_FORMAT__,obj |
2 section code use32 class=code align=64 | 2 section code use32 class=code align=64 |
3 %elifidn __OUTPUT_FORMAT__,win32 | 3 %elifidn __OUTPUT_FORMAT__,win32 |
4 %ifdef __YASM_VERSION_ID__ | 4 %ifdef __YASM_VERSION_ID__ |
5 %if __YASM_VERSION_ID__ < 01010000h | 5 %if __YASM_VERSION_ID__ < 01010000h |
6 %error yasm version 1.1.0 or later needed. | 6 %error yasm version 1.1.0 or later needed. |
7 %endif | 7 %endif |
8 ; Yasm automatically includes .00 and complains about redefining it. | 8 ; Yasm automatically includes .00 and complains about redefining it. |
9 ; https://www.tortall.net/projects/yasm/manual/html/objfmt-win32-safeseh.html | 9 ; https://www.tortall.net/projects/yasm/manual/html/objfmt-win32-safeseh.html |
10 %else | 10 %else |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 shr edi,14 | 105 shr edi,14 |
106 and edi,4095 | 106 and edi,4095 |
107 L$004nocacheinfo: | 107 L$004nocacheinfo: |
108 mov eax,1 | 108 mov eax,1 |
109 xor ecx,ecx | 109 xor ecx,ecx |
110 cpuid | 110 cpuid |
111 and edx,3220176895 | 111 and edx,3220176895 |
112 cmp ebp,0 | 112 cmp ebp,0 |
113 jne NEAR L$005notintel | 113 jne NEAR L$005notintel |
114 or edx,1073741824 | 114 or edx,1073741824 |
115 and ah,15 | |
116 cmp ah,15 | |
117 jne NEAR L$005notintel | |
118 or edx,1048576 | |
119 L$005notintel: | 115 L$005notintel: |
120 bt edx,28 | 116 bt edx,28 |
121 jnc NEAR L$002generic | 117 jnc NEAR L$002generic |
122 and edx,4026531839 | 118 and edx,4026531839 |
123 cmp edi,0 | 119 cmp edi,0 |
124 je NEAR L$002generic | 120 je NEAR L$002generic |
125 or edx,268435456 | 121 or edx,268435456 |
126 shr ebx,16 | 122 shr ebx,16 |
127 cmp bl,1 | 123 cmp bl,1 |
128 ja NEAR L$002generic | 124 ja NEAR L$002generic |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 L$015loop: | 282 L$015loop: |
287 db 15,199,240 | 283 db 15,199,240 |
288 jc NEAR L$016break | 284 jc NEAR L$016break |
289 loop L$015loop | 285 loop L$015loop |
290 L$016break: | 286 L$016break: |
291 cmp eax,0 | 287 cmp eax,0 |
292 cmove eax,ecx | 288 cmove eax,ecx |
293 ret | 289 ret |
294 segment .bss | 290 segment .bss |
295 common _OPENSSL_ia32cap_P 16 | 291 common _OPENSSL_ia32cap_P 16 |
OLD | NEW |