summaryrefslogtreecommitdiff
path: root/libavcodec/alpha
diff options
context:
space:
mode:
authorFalk Hüffner <mellum@users.sourceforge.net>2002-09-13 15:44:53 +0000
committerFalk Hüffner <mellum@users.sourceforge.net>2002-09-13 15:44:53 +0000
commit60286c8a374aa20073a0c99810576df323c7af9e (patch)
treecd80cfbcfc89c6a6c7d532c86bd0d23f3dac8758 /libavcodec/alpha
parente3bd83f87484cba07a0a68facfe21a95f709078a (diff)
Fix for h % 8 == 4 in put_pixels_axp_asm.
Originally committed as revision 940 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alpha')
-rw-r--r--libavcodec/alpha/dsputil_alpha_asm.S44
1 files changed, 12 insertions, 32 deletions
diff --git a/libavcodec/alpha/dsputil_alpha_asm.S b/libavcodec/alpha/dsputil_alpha_asm.S
index 5349e443cd..7ec6757d75 100644
--- a/libavcodec/alpha/dsputil_alpha_asm.S
+++ b/libavcodec/alpha/dsputil_alpha_asm.S
@@ -122,41 +122,21 @@ $aligned:
ldq t2, 0(a1)
addq a1, a2, a1
ldq t3, 0(a1)
- addq a1, a2, a1
-
- ldq t4, 0(a1)
- addq a1, a2, a1
- ldq t5, 0(a1)
- addq a1, a2, a1
-
- ldq t6, 0(a1)
- addq a1, a2, a1
- ldq t7, 0(a1)
- addq a1, a2, a1
-
- addq a0, a2, t8
- stq t0, 0(a0)
- addq t8, a2, t9
- stq t1, 0(t8)
-
- addq t9, a2, ta
- stq t2, 0(t9)
- addq ta, a2, tb
- stq t3, 0(ta)
-
- addq tb, a2, tc
- stq t4, 0(tb)
- addq tc, a2, td
- stq t5, 0(tc)
- addq td, a2, te
- stq t6, 0(td)
- addq te, a2, a0
- stq t7, 0(te)
+ addq a0, a2, t4
+ addq a1, a2, a1
+ addq t4, a2, t5
+ subq a3, 4, a3
- subq a3, 8, a3
- bne a3, $aligned
+ stq t0, 0(a0)
+ addq t5, a2, t6
+ stq t1, 0(t4)
+ addq t6, a2, a0
+ stq t2, 0(t5)
+ stq t3, 0(t6)
+
+ bne a3, $aligned
ret
.end put_pixels_axp_asm