Oops. Leftover bugs from the 64-bit port (cause seg fault when using JDCT_FLOAT or JDCT_IFAST when decompressing)
This commit is contained in:
@@ -81,7 +81,7 @@ EXTN(jsimd_idct_float_sse2):
|
|||||||
mov rax,rsp ; rax = original rbp
|
mov rax,rsp ; rax = original rbp
|
||||||
sub rsp, byte 4
|
sub rsp, byte 4
|
||||||
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
|
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
|
||||||
mov [rsp],eax
|
mov [rsp],rax
|
||||||
mov rbp,rsp ; rbp = aligned rbp
|
mov rbp,rsp ; rbp = aligned rbp
|
||||||
lea rsp, [workspace]
|
lea rsp, [workspace]
|
||||||
push rbx
|
push rbx
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ EXTN(jsimd_idct_ifast_sse2):
|
|||||||
mov rax,rsp ; rax = original rbp
|
mov rax,rsp ; rax = original rbp
|
||||||
sub rsp, byte 4
|
sub rsp, byte 4
|
||||||
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
|
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
|
||||||
mov [rsp],eax
|
mov [rsp],rax
|
||||||
mov rbp,rsp ; rbp = aligned rbp
|
mov rbp,rsp ; rbp = aligned rbp
|
||||||
lea rsp, [wk(0)]
|
lea rsp, [wk(0)]
|
||||||
collect_args
|
collect_args
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ EXTN(jsimd_idct_4x4_sse2):
|
|||||||
mov rax,rsp ; rax = original rbp
|
mov rax,rsp ; rax = original rbp
|
||||||
sub rsp, byte 4
|
sub rsp, byte 4
|
||||||
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
|
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
|
||||||
mov [rsp],eax
|
mov [rsp],rax
|
||||||
mov rbp,rsp ; rbp = aligned rbp
|
mov rbp,rsp ; rbp = aligned rbp
|
||||||
lea rsp, [wk(0)]
|
lea rsp, [wk(0)]
|
||||||
collect_args
|
collect_args
|
||||||
|
|||||||
Reference in New Issue
Block a user