[Mplayer-cvslog] CVS: main/mp3lib dct64_3dnow.c,1.1,1.2 dct64_k7.c,1.1,1.2

Arpi of Ize arpi at mplayer.dev.hu
Sat Mar 23 22:48:57 CET 2002


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

Modified Files:
	dct64_3dnow.c dct64_k7.c 
Log Message:
MANGLE() the 3dnow code

Index: dct64_3dnow.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/dct64_3dnow.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dct64_3dnow.c	14 Jan 2002 10:34:38 -0000	1.1
+++ dct64_3dnow.c	23 Mar 2002 21:48:55 -0000	1.2
@@ -9,6 +9,8 @@
 */
 #define real float /* ugly - but only way */
 
+#include "../mangle.h"
+
 static unsigned long long int __attribute__((aligned(8))) x_plus_minus_3dnow = 0x8000000000000000ULL;
 static float plus_1f = 1.0;
 
@@ -21,7 +23,7 @@
 "	leal 128+%3,%%edx\n\t"
 "	movl %0,%%esi\n\t"
 "	movl %1,%%edi\n\t"
-"	movl $costab_mmx,%%ebx\n\t"
+"	movl $"MANGLE(costab_mmx)",%%ebx\n\t"
 "	leal %3,%%ecx\n\t"
 
 /* Phase 1*/
@@ -500,7 +502,7 @@
 /* Phase 6. This is the end of easy road. */
 /* Code below is coded in scalar mode. Should be optimized */
 
-"	movd	plus_1f, %%mm6\n\t"
+"	movd	"MANGLE(plus_1f)", %%mm6\n\t"
 "	punpckldq 120(%%ebx), %%mm6\n\t"      /* mm6 = 1.0 | 120(%%ebx)*/
 "	movq	x_plus_minus_3dnow, %%mm7\n\t" /* mm7 = +1 | -1 */
 

Index: dct64_k7.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/dct64_k7.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dct64_k7.c	14 Jan 2002 10:34:38 -0000	1.1
+++ dct64_k7.c	23 Mar 2002 21:48:55 -0000	1.2
@@ -9,6 +9,8 @@
 */
 #define real float /* ugly - but only way */
 
+#include "../mangle.h"
+
 static unsigned long long int __attribute__((aligned(8))) x_plus_minus_3dnow = 0x8000000000000000ULL;
 static float plus_1f = 1.0;
 
@@ -21,7 +23,7 @@
 "	leal 128+%3,%%edx\n\t"
 "	movl %0,%%esi\n\t"
 "	movl %1,%%edi\n\t"
-"	movl $costab_mmx,%%ebx\n\t"
+"	movl $"MANGLE(costab_mmx)",%%ebx\n\t"
 "	leal %3,%%ecx\n\t"
 
 /* Phase 1*/
@@ -378,7 +380,7 @@
 /* Phase 6. This is the end of easy road. */
 /* Code below is coded in scalar mode. Should be optimized */
 
-"	movd	plus_1f, %%mm6\n\t"
+"	movd	"MANGLE(plus_1f)", %%mm6\n\t"
 "	punpckldq 120(%%ebx), %%mm6\n\t"      /* mm6 = 1.0 | 120(%%ebx)*/
 "	movq	x_plus_minus_3dnow, %%mm7\n\t" /* mm7 = +1 | -1 */
 




More information about the MPlayer-cvslog mailing list