Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/sha/asm move scratch...
details: https://anonhg.NetBSD.org/src/rev/fa17161478ec
branches: trunk
changeset: 814440:fa17161478ec
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 20 22:17:13 2016 +0000
description:
move scratch stack offset from 64 to 72 bytes so that it is aligned properly.
We core-dump using xmm instructions with gcc-5.3 otherwise. This is all
fixed a lot better in openssl-1.1.0-pre4 and I am tempted....
diffstat:
crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-x86_64.pl | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r 433831167c37 -r fa17161478ec crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-x86_64.pl
--- a/crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-x86_64.pl Sun Mar 20 21:27:27 2016 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/sha/asm/sha1-x86_64.pl Sun Mar 20 22:17:13 2016 +0000
@@ -308,7 +308,7 @@
push %rbx
push %rbp
push %r12
- lea `-64-($win64?5*16:0)`(%rsp),%rsp
+ lea `-64-($win64?5*16:8)`(%rsp),%rsp
___
$code.=<<___ if ($win64);
movaps %xmm6,64+0(%rsp)
@@ -698,7 +698,7 @@
movaps 64+64(%rsp),%xmm10
___
$code.=<<___;
- lea `64+($win64?5*16:0)`(%rsp),%rsi
+ lea `64+($win64?5*16:8)`(%rsp),%rsi
mov 0(%rsi),%r12
mov 8(%rsi),%rbp
mov 16(%rsi),%rbx
@@ -728,7 +728,7 @@
push %rbx
push %rbp
push %r12
- lea `-64-($win64?5*16:0)`(%rsp),%rsp
+ lea `-64-($win64?5*16:8)`(%rsp),%rsp
___
$code.=<<___ if ($win64);
movaps %xmm6,64+0(%rsp)
@@ -1056,7 +1056,7 @@
movaps 64+64(%rsp),%xmm10
___
$code.=<<___;
- lea `64+($win64?5*16:0)`(%rsp),%rsi
+ lea `64+($win64?5*16:8)`(%rsp),%rsi
mov 0(%rsi),%r12
mov 8(%rsi),%rbp
mov 16(%rsi),%rbx
Home |
Main Index |
Thread Index |
Old Index