Cygwin stdcall mismatch fix.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6178 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-05-24 01:56:01 +00:00
parent 10ad8ce7a7
commit 4ade55ceac
4 changed files with 5 additions and 20 deletions

View File

@ -14,12 +14,7 @@
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(

View File

@ -6,12 +6,7 @@
#include "../mangle.h"
#define real float /* ugly - but only way */
#ifdef __CYGWIN__
/* will probably cause sig11 with debuggingsymbols, but otherwise undef. ref */
void dct64_MMX(real *a,real *b,real *c)
#else
void __attribute__ (( __stdcall__ )) dct64_MMX(real *a,real *b,real *c)
#endif
{
char tmp[256];
__asm __volatile(

View File

@ -14,12 +14,7 @@
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(

View File

@ -373,11 +373,11 @@ int _has_mmx = 0;
static int tables_done_flag=0;
/* It's hidden from gcc in assembler */
extern void dct64_MMX( void );
extern void dct64_MMX_3dnow( void );
extern void dct64_MMX_3dnowex( void );
extern void dct64_MMX_sse( void );
void (*dct64_MMX_func)( void );
extern void __attribute__((__stdcall__)) dct64_MMX(real *, real *, real *);
extern void __attribute__((__stdcall__)) dct64_MMX_3dnow(real *, real *, real *);
extern void __attribute__((__stdcall__)) dct64_MMX_3dnowex(real *, real *, real *);
extern void __attribute__((__stdcall__)) dct64_MMX_sse(real *, real *, real *);
void __attribute__((__stdcall__)) (*dct64_MMX_func)(real *, real *, real *);
#include "../cpudetect.h"