summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-22 00:21:57 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-22 00:21:57 +0000
commit4f21b986b7ffa0c26c0317166b9e993e8735dd5c (patch)
tree347d74112f932c8cf20d2667226315a86b9bfd85 /postproc
parent3a1b20a7e7edfd735a325759c15e767765137ff5 (diff)
downloadmpv-4f21b986b7ffa0c26c0317166b9e993e8735dd5c.tar.bz2
mpv-4f21b986b7ffa0c26c0317166b9e993e8735dd5c.tar.xz
10000l : fix a crash on x86 due to an horrible mistake in my x86_64 patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13734 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/swscale_template.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c
index ab6c8351f1..5f7a28d1f0 100644
--- a/postproc/swscale_template.c
+++ b/postproc/swscale_template.c
@@ -2049,8 +2049,8 @@ static inline void RENAME(hScale)(int16_t *dst, int dstW, uint8_t *src, int srcW
"mov %%"REG_a", %%"REG_BP" \n\t"
".balign 16 \n\t"
"1: \n\t"
- "movzxw (%2, %%"REG_BP"), %%"REG_a"\n\t"
- "movzxw 2(%2, %%"REG_BP"), %%"REG_b"\n\t"
+ "movzwl (%2, %%"REG_BP"), %%eax \n\t"
+ "movzwl 2(%2, %%"REG_BP"), %%ebx\n\t"
"movq (%1, %%"REG_BP", 4), %%mm1\n\t"
"movq 8(%1, %%"REG_BP", 4), %%mm3\n\t"
"movd (%3, %%"REG_a"), %%mm0 \n\t"
@@ -2087,8 +2087,8 @@ static inline void RENAME(hScale)(int16_t *dst, int dstW, uint8_t *src, int srcW
"mov %%"REG_a", %%"REG_BP" \n\t"
".balign 16 \n\t"
"1: \n\t"
- "movzxw (%2, %%"REG_BP"), %%"REG_a"\n\t"
- "movzxw 2(%2, %%"REG_BP"), %%"REG_b"\n\t"
+ "movzwl (%2, %%"REG_BP"), %%eax \n\t"
+ "movzwl 2(%2, %%"REG_BP"), %%ebx\n\t"
"movq (%1, %%"REG_BP", 8), %%mm1\n\t"
"movq 16(%1, %%"REG_BP", 8), %%mm3\n\t"
"movd (%3, %%"REG_a"), %%mm0 \n\t"
@@ -2136,8 +2136,8 @@ static inline void RENAME(hScale)(int16_t *dst, int dstW, uint8_t *src, int srcW
".balign 16 \n\t"
"1: \n\t"
"mov %2, %%"REG_c" \n\t"
- "movzxw (%%"REG_c", %0), %%"REG_a"\n\t"
- "movzxw 2(%%"REG_c", %0), %%"REG_b"\n\t"
+ "movzwl (%%"REG_c", %0), %%eax \n\t"
+ "movzwl 2(%%"REG_c", %0), %%ebx \n\t"
"mov %5, %%"REG_c" \n\t"
"pxor %%mm4, %%mm4 \n\t"
"pxor %%mm5, %%mm5 \n\t"