Mercurial > mplayer.hg
changeset 5842:d6eab895c742
Avoid stdcall on cygwin, it causes undefined ref, code needs testing as I have no athlon or k6-2.
author | atmos4 |
---|---|
date | Fri, 26 Apr 2002 19:14:47 +0000 |
parents | 9cc33be028bb |
children | 1092c4fc8b24 |
files | mp3lib/dct64_3dnow.c mp3lib/dct64_k7.c |
diffstat | 2 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mp3lib/dct64_3dnow.c Fri Apr 26 19:11:13 2002 +0000 +++ b/mp3lib/dct64_3dnow.c Fri Apr 26 19:14:47 2002 +0000 @@ -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 +}
--- a/mp3lib/dct64_k7.c Fri Apr 26 19:11:13 2002 +0000 +++ b/mp3lib/dct64_k7.c Fri Apr 26 19:14:47 2002 +0000 @@ -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 +}