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

Felix Buenemann atmosfear at users.sourceforge.net
Fri May 25 16:02:23 CEST 2001


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

Modified Files:
	decode_sse.s 
Log Message:
Replaced wrond direction floating -> integer conversion.


Index: decode_sse.s
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/decode_sse.s,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** decode_sse.s	2001/05/24 20:14:28	1.3
--- decode_sse.s	2001/05/25 14:02:21	1.4
***************
*** 111,120 ****
  	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
--- 111,127 ----
  	mulps  48(%ebx), %xmm1
  	addps  %xmm1, %xmm0
+ /* pfnacc ->  PFNACC mmreg1, mmreg2  performs the following operations: */
+ /* temp = mmreg2 */
+ /* mmreg1[31:0] = mmreg1[31:0] - mmreg1[63:32] */
+ /* mmreg1[63:32]= temp [31:0] - temp[63:32] */
+ /* save difference of mmreg1's low-word and high-word into mmreg1's low-word */
+ /* save difference of mmreg2's low-word and high-word into mmreg1's high-word */
  	movhlps %xmm0, %xmm1
  	addps   %xmm1, %xmm0
  	movaps  %xmm0, %xmm1
  	shufps  $0x55, %xmm1, %xmm1 /* fake of pfnacc. 1|1|1|1 */
+ 
  	subss	%xmm1, %xmm0
! 	cvtss2si %xmm0, %eax
  
  /        sar   $16,%eax
***************
*** 142,146 ****
  	movhlps %xmm0, %xmm1	
  	addss	%xmm1, %xmm0
! 	cvttss2si %xmm0, %eax
  
  /        sar   $16,%eax
--- 149,153 ----
  	movhlps %xmm0, %xmm1	
  	addss	%xmm1, %xmm0
! 	cvtss2si %xmm0, %eax
  
  /        sar   $16,%eax
***************
*** 172,176 ****
  	shufps $0x55, %xmm1, %xmm1 /* fake of pfacc 1|1|1|1 */
  	addss  %xmm1, %xmm0
! 	cvttss2si %xmm0, %eax
  
  /        sar   $16,%eax
--- 179,183 ----
  	shufps $0x55, %xmm1, %xmm1 /* fake of pfacc 1|1|1|1 */
  	addss  %xmm1, %xmm0
! 	cvtss2si %xmm0, %eax
  
  /        sar   $16,%eax


_______________________________________________
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