[Mplayer-cvslog] CVS: main/mp3lib decode_sse.s,1.2,1.3

Felix Buenemann atmosfear at users.sourceforge.net
Thu May 24 22:14:30 CEST 2001


Update of /cvsroot/mplayer/main/mp3lib
In directory usw-pr-cvs1:/tmp/cvs-serv15396

Modified Files:
	decode_sse.s 
Log Message:
This version is slightly better then previous, hard to decide.


Index: decode_sse.s
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/decode_sse.s,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** decode_sse.s	2001/05/24 20:13:28	1.2
--- decode_sse.s	2001/05/24 20:14:28	1.3
***************
*** 91,96 ****
          pushl %eax
          call  dct64
!         addl  $12,%esp
! 	emms
          movl  16(%esp),%edx
          leal  0(,%edx,4),%edx
--- 91,95 ----
          pushl %eax
          call  dct64
! 	addl  $12, %esp
          movl  16(%esp),%edx
          leal  0(,%edx,4),%edx
***************
*** 101,122 ****
  
  .L55:
! 	movups	(%ecx), %xmm4
! 	mulps	(%ebx), %xmm4
! 	movups	16(%ecx), %xmm0
! 	mulps	16(%ebx), %xmm0
! 	addps	%xmm0, %xmm4
! 	movups	32(%ecx), %xmm1
! 	mulps	32(%ebx), %xmm1
! 	addps	%xmm1, %xmm4
! 	movups	48(%ecx), %xmm0
! 	mulps	48(%ebx), %xmm0
! 	addps	%xmm0, %xmm4
! 	movhlps	%xmm4, %xmm1 /* fake of pfacc */
! 	addps	%xmm1, %xmm4
! 	shufps	$0x55, %xmm4, %xmm1 /* fake of pfnacc. 1|1|1|1 */
! 	subps	%xmm1, %xmm4
! 	cvtss2si %xmm4, %eax
  
!         movw	%ax,(%esi)
  
          addl  $64,%ebx
--- 100,123 ----
  
  .L55:
! 	movups (%ecx), %xmm0
! 	mulps  (%ebx), %xmm0
! 	movups 16(%ecx), %xmm1
! 	mulps  16(%ebx), %xmm1
! 	addps  %xmm1, %xmm0
! 	movups 32(%ecx), %xmm1
! 	mulps  32(%ebx), %xmm1
! 	addps  %xmm1, %xmm0
! 	movups 48(%ecx), %xmm1
! 	mulps  48(%ebx), %xmm1
! 	addps  %xmm1, %xmm0
! 	movhlps %xmm0, %xmm1
! 	addps   %xmm1, %xmm0
! 	movaps  %xmm0, %xmm1
! 	shufps  $0x55, %xmm1, %xmm1 /* fake of pfnacc. 1|1|1|1 */
! 	subss	%xmm1, %xmm0
! 	cvttss2si %xmm0, %eax
  
! /        sar   $16,%eax
!         movw  %ax,(%esi)
  
          addl  $64,%ebx
***************
*** 128,148 ****
  / --- end of  loop 1 ---
  
! 	movups	(%ecx), %xmm4
! 	mulps	(%ebx), %xmm4
! 	movups	16(%ecx), %xmm0
! 	mulps	16(%ebx), %xmm0
! 	addps	%xmm0, %xmm4
! 	movups	32(%ecx), %xmm1
! 	mulps	32(%ebx), %xmm1
! 	addps	%xmm1, %xmm4
! 	movups	48(%ecx), %xmm0
! 	mulps	48(%ebx), %xmm0
! 	addps	%xmm0, %xmm4
! 	movhlps	%xmm4, %xmm1 /* 3|2|3|2 */
! 	addps	%xmm1, %xmm4
! 	cvtss2si %xmm4, %eax
  
  
!         movw	%ax,(%esi)
  
          addl  $-64,%ebx
--- 129,150 ----
  / --- end of  loop 1 ---
  
! 	movups (%ecx), %xmm0
! 	mulps  (%ebx), %xmm0
! 	movups 16(%ecx), %xmm1
! 	mulps  16(%ebx), %xmm1
! 	addps  %xmm1, %xmm0
! 	movups 32(%ecx), %xmm1
! 	mulps  32(%ebx), %xmm1
! 	addps  %xmm1, %xmm0
! 	movups 48(%ecx), %xmm1
! 	mulps  48(%ebx), %xmm1
! 	addps  %xmm1, %xmm0
! 	movhlps %xmm0, %xmm1	
! 	addss	%xmm1, %xmm0
! 	cvttss2si %xmm0, %eax
  
+ /        sar   $16,%eax
  
!         movw  %ax,(%esi)
  
          addl  $-64,%ebx
***************
*** 152,182 ****
  
  .L68:
! 	xorps  %xmm0, %xmm0
  
!         movups (%ecx),%xmm2
!         mulps  (%ebx),%xmm2
!         subps %xmm2,%xmm0
  
!         movups 16(%ecx),%xmm2
!         mulps  16(%ebx),%xmm2
!         subps  %xmm2,%xmm0
  
-         movups 32(%ecx),%xmm2
-         mulps  32(%ebx),%xmm2
-         subps  %xmm2,%xmm0
- 
-         movups 48(%ecx),%xmm2
-         mulps  48(%ebx),%xmm2
-         subps  %xmm2,%xmm0
- 
- 	movhlps	%xmm0, %xmm1 /* 3|2|3|2 */
- 	addps	%xmm1, %xmm0
- 	shufps	$0x55, %xmm0, %xmm1 /* fake of pfacc 1|1|1|1 */
- 	addps	%xmm1, %xmm0
- 	cvtss2si %xmm0, %eax
- 
- 
-         movw	%ax,(%esi)
- 
          addl  $-64,%ebx
          subl  $-128,%ecx
--- 154,181 ----
  
  .L68:
! 	xorps %xmm0, %xmm0
! 	movups (%ecx), %xmm1
! 	mulps  (%ebx), %xmm1
! 	subps  %xmm1, %xmm0
! 	movups 16(%ecx), %xmm1
! 	mulps  16(%ebx), %xmm1
! 	subps  %xmm1, %xmm0
! 	movups 32(%ecx), %xmm1
! 	mulps  32(%ebx), %xmm1
! 	subps  %xmm1, %xmm0
! 	movups 48(%ecx), %xmm1
! 	mulps  48(%ebx), %xmm1
! 	subps  %xmm1, %xmm0
! 	movhlps %xmm0, %xmm1
! 	subps	%xmm1, %xmm0
! 	movaps	%xmm0, %xmm1
! 	shufps $0x55, %xmm1, %xmm1 /* fake of pfacc 1|1|1|1 */
! 	addss  %xmm1, %xmm0
! 	cvttss2si %xmm0, %eax
  
! /        sar   $16,%eax
  
!         movw  %ax,(%esi)
  
          addl  $-64,%ebx
          subl  $-128,%ecx
***************
*** 186,191 ****
  
  / --- end of loop 2
- 
-         emms
  
          movl  %edi,%eax
--- 185,188 ----


_______________________________________________
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