Mercurial > mplayer.hg
comparison mp3lib/dct64_MMX.c @ 6177:82a03c17f314
Cygwin stdcall mismatch fix.
author | atmos4 |
---|---|
date | Fri, 24 May 2002 01:56:01 +0000 |
parents | 3f677202418b |
children | 855b9c55d1b0 |
comparison
equal
deleted
inserted
replaced
6176:086b7e5074dc | 6177:82a03c17f314 |
---|---|
4 * Applied to mplayer by Nick Kurshev <nickols_k@mail.ru> | 4 * Applied to mplayer by Nick Kurshev <nickols_k@mail.ru> |
5 */ | 5 */ |
6 #include "../mangle.h" | 6 #include "../mangle.h" |
7 #define real float /* ugly - but only way */ | 7 #define real float /* ugly - but only way */ |
8 | 8 |
9 #ifdef __CYGWIN__ | |
10 /* will probably cause sig11 with debuggingsymbols, but otherwise undef. ref */ | |
11 void dct64_MMX(real *a,real *b,real *c) | |
12 #else | |
13 void __attribute__ (( __stdcall__ )) dct64_MMX(real *a,real *b,real *c) | 9 void __attribute__ (( __stdcall__ )) dct64_MMX(real *a,real *b,real *c) |
14 #endif | |
15 { | 10 { |
16 char tmp[256]; | 11 char tmp[256]; |
17 __asm __volatile( | 12 __asm __volatile( |
18 " movl %2,%%eax\n\t" | 13 " movl %2,%%eax\n\t" |
19 /* Phase 1*/ | 14 /* Phase 1*/ |