@ -61,7 +61,7 @@
# include "libavutil/attributes.h"
# include "libavutil/mips/asmdefs.h"
static av_always_inline void ff_ lsp2polyf_mips( const double * lsp , double * f , int lp_half_order )
static av_always_inline void lsp2polyf_mips ( const double * lsp , double * f , int lp_half_order )
{
int i , j = 0 ;
double * p_fi = f ;
@ -88,8 +88,8 @@ static av_always_inline void ff_lsp2polyf_mips(const double *lsp, double *f, int
" addiu %[j], %[i], -2 \n \t "
" ldc1 %[f_j_2], -8(%[p_f]) \n \t "
" sdc1 %[tmp], 16(%[p_f]) \n \t "
" beqz %[j], ff_ lsp2polyf_lp_j_end%= \n \t "
" ff_ lsp2polyf_lp_j%=: \n \t "
" beqz %[j], lsp2polyf_lp_j_end%= \n \t "
" lsp2polyf_lp_j%=: \n \t "
" add.d %[tmp], %[f_j], %[f_j_2] \n \t "
" madd.d %[tmp], %[tmp], %[f_j_1], %[val] \n \t "
" mov.d %[f_j], %[f_j_1] \n \t "
@ -98,8 +98,8 @@ static av_always_inline void ff_lsp2polyf_mips(const double *lsp, double *f, int
" ldc1 %[f_j_2], -16(%[p_f]) \n \t "
" sdc1 %[tmp], 8(%[p_f]) \n \t "
PTR_ADDIU " %[p_f], -8 \n \t "
" bgtz %[j], ff_ lsp2polyf_lp_j%= \n \t "
" ff_ lsp2polyf_lp_j_end%=: \n \t "
" bgtz %[j], lsp2polyf_lp_j%= \n \t "
" lsp2polyf_lp_j_end%=: \n \t "
: [ f_j_2 ] " =&f " ( f_j_2 ) , [ f_j_1 ] " =&f " ( f_j_1 ) , [ val ] " +f " ( val ) ,
[ tmp ] " =&f " ( tmp ) , [ f_j ] " =&f " ( f_j ) , [ p_f ] " +r " ( p_f ) ,
@ -110,7 +110,7 @@ static av_always_inline void ff_lsp2polyf_mips(const double *lsp, double *f, int
f [ 1 ] + = val ;
}
}
# define ff_ lsp2polyf ff_ lsp2polyf_mips
# define lsp2polyf lsp2polyf_mips
# endif /* !HAVE_MIPS32R6 && !HAVE_MIPS64R6 */
# endif /* HAVE_MIPSFPU && HAVE_INLINE_ASM */
# endif /* AVCODEC_MIPS_LSP_MIPS_H */