From d948cc9cd090a5dca2f576e8d552e8ae778ca806 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 19 Nov 2006 16:48:45 +0000 Subject: directly insert ffreep %%st(0) opcode for compatibility with old binutils instead of darwin-specific workaround. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21063 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/dct64_sse.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'mp3lib') diff --git a/mp3lib/dct64_sse.c b/mp3lib/dct64_sse.c index 65a6e5469b..609d2e6664 100644 --- a/mp3lib/dct64_sse.c +++ b/mp3lib/dct64_sse.c @@ -298,13 +298,6 @@ void dct64_sse(real *a,real *b,real *c) To do saturation efficiently in x86 we can use fist(t)(p), pf2iw, or packssdw. We use fist(p) here. */ - -#ifdef SYS_DARWIN -#define FFREEP "fstp %%st(0)\n\t" -#else -#define FFREEP "ffreep %%st(0)\n\t" -#endif /* SYS_DARWIN */ - asm( "flds %0\n\t" "flds (%2)\n\t" @@ -433,7 +426,7 @@ void dct64_sse(real *a,real *b,real *c) "fist 480(%4)\n\t" "fadds 92(%1)\n\t" "fistp 416(%4)\n\t" - FFREEP + ".byte 0xdf, 0xc0\n\t" // ffreep %%st(0) : :"m"(costab_mmx[30]), "r"(b1), "r"(b2), "r"(a), "r"(b) :"memory" -- cgit v1.2.3