Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: third_party/boringssl/win-x86_64/crypto/cpu-x86_64-asm.asm

Issue 952293002: Roll BoringSSL b180ee9..09bdb2a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: roll a little further Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/boringssl/win-x86/crypto/cpu-x86-asm.asm ('k') | third_party/boringssl/win-x86_64/crypto/rc4/rc4-x86_64.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698