Mercurial > mplayer.hg
changeset 21047:ca38f523c848
directly insert ffreep %%st(0) opcode for compatibility with old
binutils instead of darwin-specific workaround.
author | reimar |
---|---|
date | Sun, 19 Nov 2006 16:48:45 +0000 |
parents | ba5087cb0bd4 |
children | 8cecfb2b4361 |
files | mp3lib/dct64_sse.c |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/mp3lib/dct64_sse.c Sun Nov 19 16:44:19 2006 +0000 +++ b/mp3lib/dct64_sse.c Sun Nov 19 16:48:45 2006 +0000 @@ -298,13 +298,6 @@ 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 @@ "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"