[Mplayer-cvslog] CVS: main/libac3/mmx imdct_3dnow.c,1.5,1.6 srfft_3dnow.c,1.11,1.12 srfftp_3dnow.h,1.6,1.7

Nick Kurshev nickols_k at users.sourceforge.net
Sat Jun 9 10:50:50 CEST 2001


Update of /cvsroot/mplayer/main/libac3/mmx
In directory usw-pr-cvs1:/tmp/cvs-serv25466/main/libac3/mmx

Modified Files:
	imdct_3dnow.c srfft_3dnow.c srfftp_3dnow.h 
Log Message:
Minor improvements and gcc-3.0 (unstable) compilation fixes

Index: imdct_3dnow.c
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/mmx/imdct_3dnow.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** imdct_3dnow.c	2001/05/31 17:58:56	1.5
--- imdct_3dnow.c	2001/06/09 08:50:48	1.6
***************
*** 28,32 ****
   **/
  
! void imdct_do_512(float data[],float delay[])
  {
  	int i, j;
--- 28,32 ----
   **/
  
! static void imdct_do_512(float data[],float delay[])
  {
  	int i, j;
***************
*** 126,130 ****
  #endif
  		:"=m"(buf[i])
! 		:"0"(buf[i]),"m"(xcos1[i]),"m"(xsin1[i])
  		:"memory");
  /*		ac3_buf[i].re =(tmp_a_r * ac3_xcos1[i])  +  (tmp_a_i  * ac3_xsin1[i]);
--- 126,130 ----
  #endif
  		:"=m"(buf[i])
! 		:"m"(buf[i]),"m"(xcos1[i]),"m"(xsin1[i])
  		:"memory");
  /*		ac3_buf[i].re =(tmp_a_r * ac3_xcos1[i])  +  (tmp_a_i  * ac3_xsin1[i]);
***************
*** 199,203 ****
   **/
  
! void imdct_do_512_nol (float data[], float delay[])
  {
         int i, j;
--- 199,203 ----
   **/
  
! static void imdct_do_512_nol (float data[], float delay[])
  {
         int i, j;
***************
*** 275,279 ****
   **/
  
! void imdct_do_256 (float data[],float delay[])
  {
  	int i, j, k;
--- 275,279 ----
   **/
  
! static void imdct_do_256 (float data[],float delay[])
  {
  	int i, j, k;
***************
*** 372,376 ****
   **/
  
! void imdct_do_256_nol (float data[], float delay[])
  {
  	int i, j, k;
--- 372,376 ----
   **/
  
! static void imdct_do_256_nol (float data[], float delay[])
  {
  	int i, j, k;

Index: srfft_3dnow.c
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/mmx/srfft_3dnow.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** srfft_3dnow.c	2001/06/08 09:41:22	1.11
--- srfft_3dnow.c	2001/06/09 08:50:48	1.12
***************
*** 32,36 ****
  #include "mmx/srfftp_3dnow.h"
  
! void fft_4(complex_t *x)
  {
    /* delta_p = 1 here */
--- 32,36 ----
  #include "mmx/srfftp_3dnow.h"
  
! static void fft_4(complex_t *x)
  {
    /* delta_p = 1 here */
***************
*** 92,96 ****
  #if 0
  /* is never called */
! void fftu_4(complex_t *x)
  {
    /* delta_p = 1 here */
--- 92,96 ----
  #if 0
  /* is never called */
! static void fftu_4(complex_t *x)
  {
    /* delta_p = 1 here */
***************
*** 139,143 ****
  }
  #endif
! void fft_8(complex_t *x)
  {
    /* delta_p = diag{1, sqrt(i)} here */
--- 139,143 ----
  }
  #endif
! static void fft_8(complex_t *x)
  {
    /* delta_p = diag{1, sqrt(i)} here */
***************
*** 318,322 ****
  #if 0
  /* is never called */
! void fftu_8(complex_t *x)
  {
    /* delta_p = diag{1, sqrt(i)} here */
--- 318,322 ----
  #if 0
  /* is never called */
! static void fftu_8(complex_t *x)
  {
    /* delta_p = diag{1, sqrt(i)} here */
***************
*** 437,441 ****
  #endif
  void fft_asmb(int k, complex_t *x, complex_t *wTB,
! 	     const complex_t *d, const complex_t *d_3)
  {
    register complex_t  *x2k, *x3k, *x4k, *wB;
--- 437,441 ----
  #endif
  void fft_asmb(int k, complex_t *x, complex_t *wTB,
! 		     const complex_t *d, const complex_t *d_3)
  {
    register complex_t  *x2k, *x3k, *x4k, *wB;

Index: srfftp_3dnow.h
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/mmx/srfftp_3dnow.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** srfftp_3dnow.h	2001/06/08 09:41:22	1.6
--- srfftp_3dnow.h	2001/06/09 08:50:48	1.7
***************
*** 104,108 ****
  	"movq	%%mm3, %2"\
  	:"=m"(A0), "=m"(A8), "=m"(A4), "=m"(A12)\
! 	:"m"(wTB[0]), "m"(wTB[k*2]), "0"(A0), "2"(A4)\
  	:"memory");\
  }
--- 104,108 ----
  	"movq	%%mm3, %2"\
  	:"=m"(A0), "=m"(A8), "=m"(A4), "=m"(A12)\
! 	:"m"(wTB[0]), "m"(wTB[k*2]), "m"(A0), "m"(A4)\
  	:"memory");\
  }
***************
*** 145,149 ****
  	"movq	%%mm2, %3"\
  	:"=m"(A2), "=m"(A10), "=m"(A6), "=m"(A14)\
! 	:"m"(wTB[2]), "m"(wTB[6]), "0"(A2), "2"(A6), "m"(HSQRT2_3DNOW)\
  	:"memory");\
  }
--- 145,149 ----
  	"movq	%%mm2, %3"\
  	:"=m"(A2), "=m"(A10), "=m"(A6), "=m"(A14)\
! 	:"m"(wTB[2]), "m"(wTB[6]), "m"(A2), "m"(A6), "m"(HSQRT2_3DNOW)\
  	:"memory");\
  }
***************
*** 195,199 ****
  	"movq	%%mm3, %3"\
  	:"=m"(A1), "=m"(A9), "=m"(A5), "=m"(A13)\
! 	:"0"(A1), "2"(A5)\
  	:"memory");\
  }
--- 195,199 ----
  	"movq	%%mm3, %3"\
  	:"=m"(A1), "=m"(A9), "=m"(A5), "=m"(A13)\
! 	:"m"(A1), "m"(A5)\
  	:"memory");\
  }


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list