Fix crash in sgemm SSE/nano kernel on x86_64

Fix bug #2047.

Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
Celelibi 2019-03-07 16:39:41 +01:00
parent db3dc9e282
commit b7f59da42d
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@
#endif
movq %rsp, %rbx # save old stack
subq $128 + LOCAL_BUFFER_SIZE, %rsp
subq $256 + LOCAL_BUFFER_SIZE, %rsp
andq $-4096, %rsp # align stack
STACK_TOUCHING

View File

@ -383,7 +383,7 @@
EMMS
movq %rsp, %rbx # save old stack
subq $128 + LOCAL_BUFFER_SIZE, %rsp
subq $256 + LOCAL_BUFFER_SIZE, %rsp
andq $-4096, %rsp # align stack
STACK_TOUCHING