summaryrefslogtreecommitdiff
path: root/libavutil/mips/float_dsp_mips.c
Commit message (Collapse)AuthorAge
* mips: add support for R6Vicente Olivert Riera2016-03-09
| | | | | | | | | | | Understanding the mips32r6 and mips64r6 ISAs in the configure script is not enough. In order to have full support for MIPS R6 in FFmpeg we need to be able to build it, and for that we need to make sure we don't use incompatible assembler code which makes the build fail. Ifdefing the offending code is sufficient to fix the problem. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mips/float_dsp: fix vector_fmul_window_mips on mips64James Cowgill2015-03-18
| | | | | | | | | | | | | | | 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>
* mips: port optimizations to mips n64James Cowgill2015-03-06
| | | | | | | | | | | | | This mainly consists of replacing all the pointer arithmatic 'addiu' instructions with PTR_ADDIU which will handle the differences in pointer sizes when compiled on 64 bit mips systems. The header asmdefs.h contains the PTR_ macros which expend to the correct mips instructions to manipulate registers containing pointers. 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>
* mips/float_dsp: fix a bug in vector_fmul_window_mipsNedeljko Babic2015-03-05
| | | | | | | | | | Loop was unrolled eight times although in heder there is assumption that len is multiple of 4. This is fixed, and assembly code is rewritten to be more optimal and to simplify clobber list. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mips: optimization for float aac decoder (sbr module)Mirjana Vulin2013-02-21
| | | | | Signed-off-by: Mirjana Vulin <mvulin@mips.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mips: optimization for float aac decoder (core module)Mirjana Vulin2013-01-31
| | | | | Signed-off-by: Mirjana Vulin <mvulin@mips.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mips: move vector_fmul_window_mips to libavutilMichael Niedermayer2013-01-16
| | | | | Reviewed-by: "Babic, Nedeljko" <nbabic@mips.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mips: Fixing HAVE_MIPSFPU dependenciesBojan Zivkovic2012-11-21
| | | | | | Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reviewed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mips: Optimization of AC3 FP encoder and EAC3 FP decoderBojan Zivkovic2012-11-19
Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reveiwed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>