mips: port optimizations to mips n64
authorJames Cowgill <james410@cowgill.org.uk>
Thu, 5 Mar 2015 17:40:15 +0000 (17:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Mar 2015 13:37:44 +0000 (14:37 +0100)
commit157d6f0d5b95261bf053566d8a1c2652387da30c
treeca481834165a1f3c103eea9dc50fd5e877bbcbde
parenteae13eae9d6499e81cd77bcd9e13f7bcb31b5577
mips: port optimizations to mips n64

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>
20 files changed:
libavcodec/mips/aacdec_mips.c
libavcodec/mips/aacdec_mips.h
libavcodec/mips/aacpsdsp_mips.c
libavcodec/mips/aacpsy_mips.h
libavcodec/mips/aacsbr_mips.c
libavcodec/mips/aacsbr_mips.h
libavcodec/mips/ac3dsp_mips.c
libavcodec/mips/acelp_filters_mips.c
libavcodec/mips/acelp_vectors_mips.c
libavcodec/mips/celp_filters_mips.c
libavcodec/mips/celp_math_mips.c
libavcodec/mips/compute_antialias_float.h
libavcodec/mips/fft_mips.c
libavcodec/mips/fmtconvert_mips.c
libavcodec/mips/lsp_mips.h
libavcodec/mips/mpegaudiodsp_mips_fixed.c
libavcodec/mips/mpegaudiodsp_mips_float.c
libavcodec/mips/sbrdsp_mips.c
libavutil/mips/asmdefs.h [new file with mode: 0644]
libavutil/mips/float_dsp_mips.c