[Mplayer-cvslog] CVS: main/mp3lib dct64_3dnow.c,1.2,1.3 dct64_k7.c,1.2,1.3
Atmosfear
atmos4 at mplayerhq.hu
Fri Apr 26 21:14:50 CEST 2002
Update of /cvsroot/mplayer/main/mp3lib
In directory mail:/var/tmp.root/cvs-serv4699
Modified Files:
dct64_3dnow.c dct64_k7.c
Log Message:
Avoid stdcall on cygwin, it causes undefined ref, code needs testing as I have no athlon or k6-2.
Index: dct64_3dnow.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/dct64_3dnow.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dct64_3dnow.c 23 Mar 2002 21:48:55 -0000 1.2
+++ dct64_3dnow.c 26 Apr 2002 19:14:47 -0000 1.3
@@ -14,7 +14,12 @@
static unsigned long long int __attribute__((aligned(8))) x_plus_minus_3dnow = 0x8000000000000000ULL;
static float plus_1f = 1.0;
+#ifdef __CYGWIN__
+/* will probably cause sig11 with debuggingsymbols, but otherwise undef. ref */
+void dct64_MMX_3dnow(real *a,real *b,real *c)
+#else
void __attribute__ (( __stdcall__ )) dct64_MMX_3dnow(real *a,real *b,real *c)
+#endif
{
char tmp[256];
__asm __volatile(
@@ -913,4 +918,4 @@
:
:"m"(a),"m"(b),"m"(c),"m"(tmp[0])
:"memory","%ebx","%esi","%edi");
-}
\ No newline at end of file
+}
Index: dct64_k7.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/dct64_k7.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dct64_k7.c 23 Mar 2002 21:48:55 -0000 1.2
+++ dct64_k7.c 26 Apr 2002 19:14:47 -0000 1.3
@@ -14,7 +14,12 @@
static unsigned long long int __attribute__((aligned(8))) x_plus_minus_3dnow = 0x8000000000000000ULL;
static float plus_1f = 1.0;
+#ifdef __CYGWIN__
+/* will probably cause sig11 with debuggingsymbols, but otherwise undef. ref */
+void dct64_MMX_3dnowex(real *a,real *b,real *c)
+#else
void __attribute__ (( __stdcall__ )) dct64_MMX_3dnowex(real *a,real *b,real *c)
+#endif
{
char tmp[256];
__asm __volatile(
@@ -791,4 +796,4 @@
:
:"m"(a),"m"(b),"m"(c),"m"(tmp[0])
:"memory","%ebx","%esi","%edi");
-}
\ No newline at end of file
+}
More information about the MPlayer-cvslog
mailing list