aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2007-01-23 12:04:48 +0000
committerLuca Barbato <lu_zero@gentoo.org>2007-01-23 12:04:48 +0000
commit6847e61af387f802a2a753c6ed59b22cf321ee51 (patch)
tree6a8f0f464abcd7481ca980b60c2b36326da58b44
parent373c32c7116dce6cee3f34967ebdda167b2bf40d (diff)
downloadffmpeg-6847e61af387f802a2a753c6ed59b22cf321ee51.tar.gz
10l, there is a corner case afterall...
Originally committed as revision 7660 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ppc/float_altivec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ppc/float_altivec.c b/libavcodec/ppc/float_altivec.c
index c6e43dec23..22c2de61a7 100644
--- a/libavcodec/ppc/float_altivec.c
+++ b/libavcodec/ppc/float_altivec.c
@@ -76,7 +76,6 @@ static void vector_fmul_add_add_altivec(float *dst, const float *src0,
vector unsigned char align = vec_lvsr(0,dst),
mask = vec_lvsl(0, dst);
- t0 = vec_ld(0, dst);
#if 0 //FIXME: there is still something wrong
if (step == 2) {
int y;
@@ -134,6 +133,7 @@ static void vector_fmul_add_add_altivec(float *dst, const float *src0,
#endif
if (step == 1 && src3 == 0)
for (i=0; i<len-3; i+=4) {
+ t0 = vec_ld(0, dst+i);
t1 = vec_ld(15, dst+i);
s0 = vec_ld(0, src0+i);
s1 = vec_ld(0, src1+i);
@@ -144,7 +144,6 @@ static void vector_fmul_add_add_altivec(float *dst, const float *src0,
t0 = vec_perm(edges, d, align);
vec_st(t1, 15, dst+i);
vec_st(t0, 0, dst+i);
- t0 = t1;
}
else
ff_vector_fmul_add_add_c(dst, src0, src1, src2, src3, len, step);