Chromium Code Reviews| Index: third_party/boringssl/win-x86_64/crypto/rc4/rc4-x86_64.asm |
| diff --git a/third_party/boringssl/win-x86_64/crypto/rc4/rc4-x86_64.asm b/third_party/boringssl/win-x86_64/crypto/rc4/rc4-x86_64.asm |
| index e9335712cb7059b6a30f961866a7ac2413e06177..c183caca47d74fdd003267b071bca53a0802e899 100644 |
| --- a/third_party/boringssl/win-x86_64/crypto/rc4/rc4-x86_64.asm |
| +++ b/third_party/boringssl/win-x86_64/crypto/rc4/rc4-x86_64.asm |
| @@ -37,8 +37,7 @@ $L$prologue:: |
| mov cl,BYTE PTR[((-4))+rdi] |
| cmp DWORD PTR[256+rdi],-1 |
| je $L$RC4_CHAR |
| - lea r8,QWORD PTR[OPENSSL_ia32cap_P] |
| - mov r8d,DWORD PTR[r8] |
| + mov r8d,DWORD PTR[OPENSSL_ia32cap_P] |
|
agl
2014/10/01 19:35:10
This is obviously not a no-op change on Windows. I
davidben
2014/10/01 19:43:50
Hrm. I'm guessing this is a result the GOTPCREL ch
agl
2014/10/01 20:17:37
Yes, this is a result of the GOT change.
Actually
|
| xor rbx,rbx |
| inc r10b |
| sub rbx,r10 |
| @@ -557,8 +556,7 @@ $L$SEH_begin_asm_RC4_set_key:: |
| xor r10,r10 |
| xor r11,r11 |
| - lea r8,QWORD PTR[OPENSSL_ia32cap_P] |
| - mov r8d,DWORD PTR[r8] |
| + mov r8d,DWORD PTR[OPENSSL_ia32cap_P] |
| bt r8d,20 |
| jc $L$c1stloop |
| jmp $L$w1stloop |