- 06 Mar, 2015 3 commits
-
-
James Cowgill authored
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>
-
James Cowgill authored
There are no independant uses of mips32r2 instructions except for the FPU parts. Due to the heavy use of mips32r2 specifc fpu extensions, I am guessing the original author intended MIPSFPU to imply MIPS32R2 anyway. Since these fpu instructions are available on mips64 (non-r2), enable them there as well. Also remove the last occurence of HAVE_MIPS32R2 (which is coupled to HAVE_MIPSFPU anyway). mips32r2 is left in the list of options form compatability so that using --disable-mips32r2 doesn't break anything. Signed-off-by:
James Cowgill <james410@cowgill.org.uk> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Cowgill authored
Removing these removes the dependency of this code on mips32r2 which would allow it to be used on processors which have FPU instructions, but not r2 instructions (like the mips64el debian port for instance). 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>
-
- 03 Mar, 2015 2 commits
-
-
James Cowgill authored
On mips64, the registers t[4-7] do not exist. Instead of using a lot of #ifdef or defines to handle differing register names, use variables and let GCC allocate the registers automatically (like in the other mips assembly files). In get_band_cost_ESC_mips, t4 and t5 were renamed to t6 and t7 to avoid a variable name conflict. 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>
-
James Cowgill authored
This is obviously needed for 64-bit support. 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>
-
- 01 Mar, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 26 Feb, 2015 6 commits
-
-
James Cowgill authored
Change register constraint on the v variable from = to +. This was causing GCC to think that the v variable was never read and therefore not initialize it. This fixes about 20 fate failures on mips64el. Signed-off-by:
James Cowgill <james410@cowgill.org.uk> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Cowgill authored
The float_copy and fmul_and_reverse functions are refactored out from the multiple copies in this file. Signed-off-by:
James Cowgill <james410@cowgill.org.uk> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Cowgill authored
The optimized C version of this code actually runs faster than this version, so remove it. Signed-off-by:
James Cowgill <james410@cowgill.org.uk> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Cowgill authored
Remove some assembly that the compiler can easily handle optimally on its own. GCC produces almost identical assembly. Signed-off-by:
James Cowgill <james410@cowgill.org.uk> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Cowgill authored
Q_fract should have be declared as 'const float*'. Also fix the constness of some local variables affected by this. Signed-off-by:
James Cowgill <james410@cowgill.org.uk> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Cowgill authored
GCC is perfectly happy generating optimized multiplication code on its own for 64-bit arches. GCC refuses to optimize the loongson code when in 32-bit mode, so I've left that. Signed-off-by:
James Cowgill <james410@cowgill.org.uk> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 02 Dec, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 31 Aug, 2014 1 commit
-
-
Reimar Döffinger authored
Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 29 Aug, 2014 1 commit
-
-
Reimar Döffinger authored
Only "./configure --enable-gpl" on x86 was tested. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 16 Aug, 2014 1 commit
-
-
Michael Niedermayer authored
Reviewed-by:
James Darnley <james.darnley@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 04 Aug, 2013 1 commit
-
-
Nedeljko Babic authored
Iterative implementation of 32 bit fixed point split-radix FFT. Max FFT that can be calculated currently is 2^12. Signed-off-by:
Nedeljko Babic <nbabic@mips.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 23 Mar, 2013 1 commit
-
-
Bojan Zivkovic authored
Signed-off-by:
Bojan Zivkovic <bojan@mips.com> Reviewed-by:
Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 20 Mar, 2013 3 commits
-
-
Nedeljko Babic authored
Floating point FFT (nips optimized) breaks when hard coded tables are not enabled because MIPS optimization of floating point FFT uses only ff_init_ff_cos_tabs(16) which is not enabled by default in that case. This patch is fixing it. Signed-off-by:
Nedeljko Babic <nbabic@mips.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Bojan Zivkovic authored
Signed-off-by:
Bojan Zivkovic <bojan@mips.com> Reviewed-by:
Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Bojan Zivkovic authored
Signed-off-by:
Bojan Zivkovic <bojan@mips.com> Reviewed-by:
Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 19 Mar, 2013 1 commit
-
-
Nedeljko Babic authored
List of clobbered registers fixed and added where it is lacking. Signed-off-by:
Nedeljko Babic <nbabic@mips.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 21 Feb, 2013 3 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Mirjana Vulin authored
Signed-off-by:
Mirjana Vulin <mvulin@mips.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Mirjana Vulin authored
Signed-off-by:
Mirjana Vulin <mvulin@mips.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 31 Jan, 2013 1 commit
-
-
Mirjana Vulin authored
Signed-off-by:
Mirjana Vulin <mvulin@mips.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 16 Jan, 2013 1 commit
-
-
Michael Niedermayer authored
Reviewed-by:
"Babic, Nedeljko" <nbabic@mips.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 13 Dec, 2012 1 commit
-
-
Nedeljko Babic authored
Signed-off-by:
Nedeljko Babic <nbabic@mips.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 10 Dec, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 19 Nov, 2012 1 commit
-
-
Bojan Zivkovic authored
Signed-off-by:
Bojan Zivkovic <bojan@mips.com> Reveiwed-by:
Vitor Sessak <vitor1001@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 10 Nov, 2012 1 commit
-
-
Nedeljko Babic authored
Add dependencies on HAVE_INLINE_ASM for files and parts of code where it is necessary. Signed-off-by:
Nedeljko Babic <nbabic@mips.com> Reviewed-by:
Vitor Sessak <vitor1001@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 17 Oct, 2012 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 12 Oct, 2012 1 commit
-
-
Diego Biurrun authored
The code fails to compile and is broken beyond repair.
-
- 09 Oct, 2012 1 commit
-
-
Diego Biurrun authored
-
- 05 Sep, 2012 1 commit
-
-
Nedeljko Babic authored
FFT in MIPS implementation is working iteratively instead of "recursively" calling functions for smaller FFT sizes. Some of DSP and format convert utils functions are also optimized. Signed-off-by:
Nedeljko Babic <nbabic@mips.com> Reviewed-by:
Vitor Sessak <vitor1001@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 11 Jul, 2012 1 commit
-
-
Michael Niedermayer authored
__volatile__ can cause problems with some compilers and volatile is a standard keyword. Found-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 05 Jul, 2012 1 commit
-
-
Nedeljko Babic authored
MP3 fixed and floating point decoders are optimized for MIPS architecture. Signed-off-by:
Nedeljko Babic <nbabic@mips.com> Reviewed-by:
Vitor Sessak <vitor1001@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 11 Jun, 2012 1 commit
-
-
Nedeljko Babic authored
AMR NB and WB decoders are optimized for MIPS architecture. Appropriate Makefiles are changed accordingly. Cnfigure script is changed in order to support optimizations. Optimizations are enabled by default when compiling is done for mips architecture. Appropriate cflags are automatically set. Support for several mips CPUs is added in configure script. New ffmpeg options are added for disabling optimizations. The FFMPEG option --disable-mipsfpu disables MIPS floating point optimizations. The FFMPEG option --disable-mips32r2 disables MIPS32R2 optimizations. The FFMPEG option --disable-mipsdspr1 disables MIPS DSP ASE R1 optimizations. The FFMPEG option --disable-mipsdspr2 disables MIPS DSP ASE R2 optimizations. Signed-off-by:
Nedeljko Babic <nbabic@mips.com> Reviewed-by:
Vitor Sessak <vitor1001@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Apr, 2012 1 commit
-
-
Diego Biurrun authored
-
- 15 Feb, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-