Commit 1a2ff628 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '570d4b21'

* commit '570d4b21':
  x86: h264: Don't keep data in the redzone across function calls on 64 bit unix
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents a2faa3d8 570d4b21
......@@ -827,10 +827,10 @@ cglobal deblock_v_chroma_8, 5,6
; int8_t *tc0)
;-----------------------------------------------------------------------------
cglobal deblock_h_chroma_8, 5,7
%if UNIX64
%define buf0 [rsp-24]
%define buf1 [rsp-16]
%elif WIN64
%if ARCH_X86_64
; This could use the red zone on 64 bit unix to avoid the stack pointer
; readjustment, but valgrind assumes the red zone is clobbered on
; function calls and returns.
sub rsp, 16
%define buf0 [rsp]
%define buf1 [rsp+8]
......@@ -850,7 +850,7 @@ cglobal deblock_h_chroma_8, 5,7
movq m0, buf0
movq m3, buf1
TRANSPOSE8x4B_STORE PASS8ROWS(t5, r0, r1, t6)
%if WIN64
%if ARCH_X86_64
add rsp, 16
%endif
RET
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment