summaryrefslogtreecommitdiffstats
path: root/common/jpeg
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2010-02-18 04:15:01 +0000
committerDRC <dcommander@users.sourceforge.net>2010-02-18 04:15:01 +0000
commit4d9fb7789f060541cd80457b77ebb149d43d405a (patch)
tree622488d7665096b72174192aaa4b0012dd3fc4ca /common/jpeg
parenteb4a24650dde15b85f6c23603c4c2491f637e276 (diff)
downloadtigervnc-4d9fb7789f060541cd80457b77ebb149d43d405a.tar.gz
tigervnc-4d9fb7789f060541cd80457b77ebb149d43d405a.zip
Oops. Leftover bugs from the 64-bit port (cause seg fault when using JDCT_FLOAT or JDCT_IFAST when decompressing)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3989 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/jpeg')
-rw-r--r--common/jpeg/simd/jiss2flt-64.asm2
-rw-r--r--common/jpeg/simd/jiss2fst-64.asm2
-rw-r--r--common/jpeg/simd/jiss2red-64.asm2
3 files changed, 3 insertions, 3 deletions
diff --git a/common/jpeg/simd/jiss2flt-64.asm b/common/jpeg/simd/jiss2flt-64.asm
index 0e8522db..96bfa5c0 100644
--- a/common/jpeg/simd/jiss2flt-64.asm
+++ b/common/jpeg/simd/jiss2flt-64.asm
@@ -81,7 +81,7 @@ EXTN(jsimd_idct_float_sse2):
mov rax,rsp ; rax = original rbp
sub rsp, byte 4
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
- mov [rsp],eax
+ mov [rsp],rax
mov rbp,rsp ; rbp = aligned rbp
lea rsp, [workspace]
push rbx
diff --git a/common/jpeg/simd/jiss2fst-64.asm b/common/jpeg/simd/jiss2fst-64.asm
index 8b664a67..9e56a2cb 100644
--- a/common/jpeg/simd/jiss2fst-64.asm
+++ b/common/jpeg/simd/jiss2fst-64.asm
@@ -100,7 +100,7 @@ EXTN(jsimd_idct_ifast_sse2):
mov rax,rsp ; rax = original rbp
sub rsp, byte 4
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
- mov [rsp],eax
+ mov [rsp],rax
mov rbp,rsp ; rbp = aligned rbp
lea rsp, [wk(0)]
collect_args
diff --git a/common/jpeg/simd/jiss2red-64.asm b/common/jpeg/simd/jiss2red-64.asm
index 85ba9415..eddaded5 100644
--- a/common/jpeg/simd/jiss2red-64.asm
+++ b/common/jpeg/simd/jiss2red-64.asm
@@ -121,7 +121,7 @@ EXTN(jsimd_idct_4x4_sse2):
mov rax,rsp ; rax = original rbp
sub rsp, byte 4
and rsp, byte (-SIZEOF_XMMWORD) ; align to 128 bits
- mov [rsp],eax
+ mov [rsp],rax
mov rbp,rsp ; rbp = aligned rbp
lea rsp, [wk(0)]
collect_args