[Mplayer-cvslog] CVS: main/mp3lib dct64_3dnow.s,1.4,1.5 dct64_k7.s,1.6,1.7

Nick Kurshev nick at mplayer.dev.hu
Fri Jul 6 12:59:16 CEST 2001


Update of /cvsroot/mplayer/main/mp3lib
In directory mplayer:/var/tmp.root/cvs-serv8414/main/mp3lib

Modified Files:
	dct64_3dnow.s dct64_k7.s 
Log Message:
Minor optimization

Index: dct64_3dnow.s
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/dct64_3dnow.s,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- dct64_3dnow.s	5 Jul 2001 09:44:18 -0000	1.4
+++ dct64_3dnow.s	6 Jul 2001 10:59:14 -0000	1.5
@@ -543,11 +543,10 @@
 	movq	%mm2, 72(%edx)
 
 	movd   48(%ecx), %mm3
-	pfsub  52(%ecx), %mm3
-	pfmul 120(%ebx), %mm3
-
 	movd   60(%ecx), %mm2
+	pfsub  52(%ecx), %mm3
 	pfsub  56(%ecx), %mm2
+	pfmul 120(%ebx), %mm3
 	pfmul 120(%ebx), %mm2
 	movq	%mm2, %mm1
 
@@ -583,8 +582,8 @@
 	pfmul 120(%ebx), %mm0
 	pfadd  %mm0, %mm1
 	pfadd  92(%edx), %mm0
-	movd   %mm0, 84(%edx)
-	movd   %mm1, 88(%edx)
+	punpckldq %mm1, %mm0
+	movq   %mm0, 84(%edx)
 
 	movq	96(%ecx), %mm0
 	movq	%mm0, %mm1
@@ -618,8 +617,8 @@
 	pfmul 120(%ebx), %mm0
 	pfadd %mm0,%mm1
 	pfadd 124(%edx), %mm0
-	movd  %mm0, 116(%edx)
-	movd  %mm1, 120(%edx)
+	punpckldq %mm1, %mm0
+	movq  %mm0, 116(%edx)
 
 	jnz .L01
 	
@@ -919,6 +918,4 @@
 	popl %edi
 	popl %esi
 	popl %ebx
-	ret	$12
-
-
+	ret  $12

Index: dct64_k7.s
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/dct64_k7.s,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- dct64_k7.s	5 Jul 2001 09:44:18 -0000	1.6
+++ dct64_k7.s	6 Jul 2001 10:59:14 -0000	1.7
@@ -422,11 +422,10 @@
 	movq	%mm2, 72(%edx)
 
 	movd   48(%ecx), %mm3
-	pfsub  52(%ecx), %mm3
-	pfmul 120(%ebx), %mm3
-
 	movd   60(%ecx), %mm2
+	pfsub  52(%ecx), %mm3
 	pfsub  56(%ecx), %mm2
+	pfmul 120(%ebx), %mm3
 	pfmul 120(%ebx), %mm2
 	movq	%mm2, %mm1
 
@@ -462,8 +461,8 @@
 	pfmul 120(%ebx), %mm0
 	pfadd  %mm0, %mm1
 	pfadd  92(%edx), %mm0
-	movd   %mm0, 84(%edx)
-	movd   %mm1, 88(%edx)
+	punpckldq %mm1, %mm0
+	movq   %mm0, 84(%edx)
 
 	movq	96(%ecx), %mm0
 	movq	%mm0, %mm1
@@ -497,8 +496,8 @@
 	pfmul 120(%ebx), %mm0
 	pfadd %mm0,%mm1
 	pfadd 124(%edx), %mm0
-	movd  %mm0, 116(%edx)
-	movd  %mm1, 120(%edx)
+	punpckldq %mm1, %mm0
+	movq  %mm0, 116(%edx)
 
 	jnz .L01
 	
@@ -798,4 +797,4 @@
 	popl %edi
 	popl %esi
 	popl %ebx
-	ret	$12
+	ret  $12


_______________________________________________
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