From b2c09ad9a4c6df34a7ce5b5cffc134b36983093d Mon Sep 17 00:00:00 2001 From: cehoyos Date: Wed, 10 Nov 2010 00:10:49 +0000 Subject: [PATCH] mp3lib/dct64_sse.c: fix compilation with clang MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use fist(p)s instead of fist(p), fixes compilation with clang. Patch by İsmail Dönmez, ismail namtrac org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32613 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/dct64_sse.c | 68 +++++++++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/mp3lib/dct64_sse.c b/mp3lib/dct64_sse.c index c2270ba9be..bcf3b97f5b 100644 --- a/mp3lib/dct64_sse.c +++ b/mp3lib/dct64_sse.c @@ -282,27 +282,27 @@ void dct64_sse(short *out0,short *out1,real *c) #else /* - To do saturation efficiently in x86 we can use fist(t)(p), - pf2iw, or packssdw. We use fist(p) here. + To do saturation efficiently in x86 we can use fist(p)s, + pf2iw, or packssdw. We use fist(p)s here. */ __asm__( "flds %0\n\t" "flds (%2)\n\t" "fadds 4(%2)\n\t" - "fistp 512(%3)\n\t" + "fistps 512(%3)\n\t" "flds (%2)\n\t" "fsubs 4(%2)\n\t" "fmul %%st(1)\n\t" - "fistp (%3)\n\t" + "fistps (%3)\n\t" "flds 12(%2)\n\t" "fsubs 8(%2)\n\t" "fmul %%st(1)\n\t" - "fist 256(%4)\n\t" + "fists 256(%4)\n\t" "fadds 12(%2)\n\t" "fadds 8(%2)\n\t" - "fistp 256(%3)\n\t" + "fistps 256(%3)\n\t" "flds 16(%2)\n\t" "fsubs 20(%2)\n\t" @@ -311,108 +311,108 @@ void dct64_sse(short *out0,short *out1,real *c) "flds 28(%2)\n\t" "fsubs 24(%2)\n\t" "fmul %%st(2)\n\t" - "fist 384(%4)\n\t" + "fists 384(%4)\n\t" "fld %%st(0)\n\t" "fadds 24(%2)\n\t" "fadds 28(%2)\n\t" "fld %%st(0)\n\t" "fadds 16(%2)\n\t" "fadds 20(%2)\n\t" - "fistp 384(%3)\n\t" + "fistps 384(%3)\n\t" "fadd %%st(2)\n\t" - "fistp 128(%3)\n\t" + "fistps 128(%3)\n\t" "faddp %%st(1)\n\t" - "fistp 128(%4)\n\t" + "fistps 128(%4)\n\t" "flds 32(%1)\n\t" "fadds 48(%1)\n\t" - "fistp 448(%3)\n\t" + "fistps 448(%3)\n\t" "flds 48(%1)\n\t" "fadds 40(%1)\n\t" - "fistp 320(%3)\n\t" + "fistps 320(%3)\n\t" "flds 40(%1)\n\t" "fadds 56(%1)\n\t" - "fistp 192(%3)\n\t" + "fistps 192(%3)\n\t" "flds 56(%1)\n\t" "fadds 36(%1)\n\t" - "fistp 64(%3)\n\t" + "fistps 64(%3)\n\t" "flds 36(%1)\n\t" "fadds 52(%1)\n\t" - "fistp 64(%4)\n\t" + "fistps 64(%4)\n\t" "flds 52(%1)\n\t" "fadds 44(%1)\n\t" - "fistp 192(%4)\n\t" + "fistps 192(%4)\n\t" "flds 60(%1)\n\t" - "fist 448(%4)\n\t" + "fists 448(%4)\n\t" "fadds 44(%1)\n\t" - "fistp 320(%4)\n\t" + "fistps 320(%4)\n\t" "flds 96(%1)\n\t" "fadds 112(%1)\n\t" "fld %%st(0)\n\t" "fadds 64(%1)\n\t" - "fistp 480(%3)\n\t" + "fistps 480(%3)\n\t" "fadds 80(%1)\n\t" - "fistp 416(%3)\n\t" + "fistps 416(%3)\n\t" "flds 112(%1)\n\t" "fadds 104(%1)\n\t" "fld %%st(0)\n\t" "fadds 80(%1)\n\t" - "fistp 352(%3)\n\t" + "fistps 352(%3)\n\t" "fadds 72(%1)\n\t" - "fistp 288(%3)\n\t" + "fistps 288(%3)\n\t" "flds 104(%1)\n\t" "fadds 120(%1)\n\t" "fld %%st(0)\n\t" "fadds 72(%1)\n\t" - "fistp 224(%3)\n\t" + "fistps 224(%3)\n\t" "fadds 88(%1)\n\t" - "fistp 160(%3)\n\t" + "fistps 160(%3)\n\t" "flds 120(%1)\n\t" "fadds 100(%1)\n\t" "fld %%st(0)\n\t" "fadds 88(%1)\n\t" - "fistp 96(%3)\n\t" + "fistps 96(%3)\n\t" "fadds 68(%1)\n\t" - "fistp 32(%3)\n\t" + "fistps 32(%3)\n\t" "flds 100(%1)\n\t" "fadds 116(%1)\n\t" "fld %%st(0)\n\t" "fadds 68(%1)\n\t" - "fistp 32(%4)\n\t" + "fistps 32(%4)\n\t" "fadds 84(%1)\n\t" - "fistp 96(%4)\n\t" + "fistps 96(%4)\n\t" "flds 116(%1)\n\t" "fadds 108(%1)\n\t" "fld %%st(0)\n\t" "fadds 84(%1)\n\t" - "fistp 160(%4)\n\t" + "fistps 160(%4)\n\t" "fadds 76(%1)\n\t" - "fistp 224(%4)\n\t" + "fistps 224(%4)\n\t" "flds 108(%1)\n\t" "fadds 124(%1)\n\t" "fld %%st(0)\n\t" "fadds 76(%1)\n\t" - "fistp 288(%4)\n\t" + "fistps 288(%4)\n\t" "fadds 92(%1)\n\t" - "fistp 352(%4)\n\t" + "fistps 352(%4)\n\t" "flds 124(%1)\n\t" - "fist 480(%4)\n\t" + "fists 480(%4)\n\t" "fadds 92(%1)\n\t" - "fistp 416(%4)\n\t" + "fistps 416(%4)\n\t" ".byte 0xdf, 0xc0\n\t" // ffreep %%st(0) : :"m"(costab_mmx[30]), "r"(b1), "r"(b2), "r"(out0), "r"(out1) -- 2.11.4.GIT