mirror of
https://github.com/mpv-player/mpv
synced 2025-03-04 21:27:58 +00:00
Cygwin stdcall mismatch fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6178 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
10ad8ce7a7
commit
4ade55ceac
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
10
mp3lib/sr1.c
10
mp3lib/sr1.c
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user