OLD | NEW |
1 default rel | 1 default rel |
2 %define XMMWORD | 2 %define XMMWORD |
3 %define YMMWORD | 3 %define YMMWORD |
4 %define ZMMWORD | 4 %define ZMMWORD |
5 section .text code align=64 | 5 section .text code align=64 |
6 | 6 |
7 | 7 |
8 global OPENSSL_ia32_cpuid | 8 global OPENSSL_ia32_cpuid |
9 | 9 |
10 ALIGN 16 | 10 ALIGN 16 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 mov DWORD[8+rdi],ebx | 107 mov DWORD[8+rdi],ebx |
108 | 108 |
109 $L$nocacheinfo: | 109 $L$nocacheinfo: |
110 mov eax,1 | 110 mov eax,1 |
111 cpuid | 111 cpuid |
112 | 112 |
113 and edx,0xbfefffff | 113 and edx,0xbfefffff |
114 cmp r9d,0 | 114 cmp r9d,0 |
115 jne NEAR $L$notintel | 115 jne NEAR $L$notintel |
116 or edx,0x40000000 | 116 or edx,0x40000000 |
117 and ah,15 | |
118 cmp ah,15 | |
119 jne NEAR $L$notintel | |
120 or edx,0x00100000 | |
121 $L$notintel: | 117 $L$notintel: |
122 bt edx,28 | 118 bt edx,28 |
123 jnc NEAR $L$generic | 119 jnc NEAR $L$generic |
124 and edx,0xefffffff | 120 and edx,0xefffffff |
125 cmp r10d,0 | 121 cmp r10d,0 |
126 je NEAR $L$generic | 122 je NEAR $L$generic |
127 | 123 |
128 or edx,0x10000000 | 124 or edx,0x10000000 |
129 shr ebx,16 | 125 shr ebx,16 |
130 cmp bl,1 | 126 cmp bl,1 |
(...skipping 18 matching lines...) Expand all Loading... |
149 and DWORD[8+rdi],0xffffffdf | 145 and DWORD[8+rdi],0xffffffdf |
150 $L$done: | 146 $L$done: |
151 mov DWORD[4+rdi],r9d | 147 mov DWORD[4+rdi],r9d |
152 mov DWORD[rdi],r10d | 148 mov DWORD[rdi],r10d |
153 mov rbx,r8 | 149 mov rbx,r8 |
154 mov rdi,QWORD[8+rsp] ;WIN64 epilogue | 150 mov rdi,QWORD[8+rsp] ;WIN64 epilogue |
155 mov rsi,QWORD[16+rsp] | 151 mov rsi,QWORD[16+rsp] |
156 DB 0F3h,0C3h ;repret | 152 DB 0F3h,0C3h ;repret |
157 $L$SEH_end_OPENSSL_ia32_cpuid: | 153 $L$SEH_end_OPENSSL_ia32_cpuid: |
158 | 154 |
OLD | NEW |