Commit 9dc31657 authored by lu_zero's avatar lu_zero

Avoid a vec_add, directly start with sum

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11302 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9487992d
......@@ -31,11 +31,10 @@
vsrc2ssH = (vec_s16_t)vec_mergeh(zero_u8v,(vec_u8_t)vsrc2uc);\
vsrc3ssH = (vec_s16_t)vec_mergeh(zero_u8v,(vec_u8_t)vsrc3uc);\
\
psum = vec_mladd(vA, vsrc0ssH, vec_splat_s16(0));\
psum = vec_mladd(vA, vsrc0ssH, v32ss);\
psum = vec_mladd(vB, vsrc1ssH, psum);\
psum = vec_mladd(vC, vsrc2ssH, psum);\
psum = vec_mladd(vD, vsrc3ssH, psum);\
psum = vec_add(v32ss, psum);\
psum = vec_sr(psum, v6us);\
\
vdst = vec_ld(0, dst);\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment