mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 13:14:36 +00:00
Avoid stdcall on cygwin, it causes undefined ref, code needs testing as I have no athlon or k6-2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5843 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a9c22ff423
commit
b2697e2516
@ -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 @@ void __attribute__ (( __stdcall__ )) dct64_MMX_3dnow(real *a,real *b,real *c)
|
||||
:
|
||||
:"m"(a),"m"(b),"m"(c),"m"(tmp[0])
|
||||
:"memory","%ebx","%esi","%edi");
|
||||
}
|
||||
}
|
||||
|
@ -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 @@ void __attribute__ (( __stdcall__ )) dct64_MMX_3dnowex(real *a,real *b,real *c)
|
||||
:
|
||||
:"m"(a),"m"(b),"m"(c),"m"(tmp[0])
|
||||
:"memory","%ebx","%esi","%edi");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user