diff options
author | James Cowgill <james410@cowgill.org.uk> | 2015-02-26 13:42:46 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-26 16:13:06 +0100 |
commit | 83589e69187637d7d82d527c627b4520c92b9eac (patch) | |
tree | 887518423de598d3b68a6c6aee5e97306582716a /libavcodec | |
parent | d6f66aec508fb99ab0fdcb05efd1f394fba2a934 (diff) | |
download | ffmpeg-83589e69187637d7d82d527c627b4520c92b9eac.tar.gz |
mips/sbrdsp: remove sbr_neg_odd_64_mips
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>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mips/sbrdsp_mips.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libavcodec/mips/sbrdsp_mips.c b/libavcodec/mips/sbrdsp_mips.c index d4460bad6e..c76e7092f4 100644 --- a/libavcodec/mips/sbrdsp_mips.c +++ b/libavcodec/mips/sbrdsp_mips.c @@ -58,39 +58,6 @@ #include "libavcodec/sbrdsp.h" #if HAVE_INLINE_ASM -static void sbr_neg_odd_64_mips(float *x) -{ - int Temp1, Temp2, Temp3, Temp4, Temp5; - float *x1 = &x[1]; - float *x_end = x1 + 64; - - /* loop unrolled 4 times */ - __asm__ volatile ( - "lui %[Temp5], 0x8000 \n\t" - "1: \n\t" - "lw %[Temp1], 0(%[x1]) \n\t" - "lw %[Temp2], 8(%[x1]) \n\t" - "lw %[Temp3], 16(%[x1]) \n\t" - "lw %[Temp4], 24(%[x1]) \n\t" - "xor %[Temp1], %[Temp1], %[Temp5] \n\t" - "xor %[Temp2], %[Temp2], %[Temp5] \n\t" - "xor %[Temp3], %[Temp3], %[Temp5] \n\t" - "xor %[Temp4], %[Temp4], %[Temp5] \n\t" - "sw %[Temp1], 0(%[x1]) \n\t" - "sw %[Temp2], 8(%[x1]) \n\t" - "sw %[Temp3], 16(%[x1]) \n\t" - "sw %[Temp4], 24(%[x1]) \n\t" - "addiu %[x1], %[x1], 32 \n\t" - "bne %[x1], %[x_end], 1b \n\t" - - : [Temp1]"=&r"(Temp1), [Temp2]"=&r"(Temp2), - [Temp3]"=&r"(Temp3), [Temp4]"=&r"(Temp4), - [Temp5]"=&r"(Temp5), [x1]"+r"(x1) - : [x_end]"r"(x_end) - : "memory" - ); -} - static void sbr_qmf_pre_shuffle_mips(float *z) { int Temp1, Temp2, Temp3, Temp4, Temp5, Temp6; @@ -920,7 +887,6 @@ static void sbr_hf_apply_noise_3_mips(float (*Y)[2], const float *s_m, void ff_sbrdsp_init_mips(SBRDSPContext *s) { #if HAVE_INLINE_ASM - s->neg_odd_64 = sbr_neg_odd_64_mips; s->qmf_pre_shuffle = sbr_qmf_pre_shuffle_mips; s->qmf_post_shuffle = sbr_qmf_post_shuffle_mips; #if HAVE_MIPSFPU |