mips/float_dsp: fix vector_fmul_window_mips on mips64
authorJames Cowgill <james410@cowgill.org.uk>
Wed, 18 Mar 2015 13:02:59 +0000 (13:02 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Mar 2015 10:59:04 +0000 (11:59 +0100)
commit7439ed2f398da77eab5d2460161d2879f12fcc22
treee14a7299caa029fa9fd5f628a63bfbc41d33491f
parent40607290c904ce84d733f3fe02286ad47a1028ef
mips/float_dsp: fix vector_fmul_window_mips on mips64

Commit dfa920807494 ("mips/float_dsp: fix a bug in vector_fmul_window_mips")
fixed vector_fmul_window_mips by unrolling the loop only 4 times, but also
removed the outer C loop and replaced it with assembly branches and pointer
arithmetic. When submitting my 64-bit porting patch I missed this new
assembly which also needed porting.

This patch fixes a bus error in the fate-float-dsp test when run on 64-bit
mips.

Signed-off-by: James Cowgill <james410@cowgill.org.uk>
Reviewed-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f8323744a0783d5937232a95cd1cc98f6b70a810)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/mips/float_dsp_mips.c