[MPlayer-cvslog] r32613 - trunk/mp3lib/dct64_sse.c

cehoyos subversion at mplayerhq.hu
Wed Nov 10 01:10:49 CET 2010


Author: cehoyos
Date: Wed Nov 10 01:10:49 2010
New Revision: 32613

Log:
Use fist(p)s instead of fist(p), fixes compilation with clang.

Patch by İsmail Dönmez, ismail namtrac org

Modified:
   trunk/mp3lib/dct64_sse.c

Modified: trunk/mp3lib/dct64_sse.c
==============================================================================
--- trunk/mp3lib/dct64_sse.c	Tue Nov  9 23:13:11 2010	(r32612)
+++ trunk/mp3lib/dct64_sse.c	Wed Nov 10 01:10:49 2010	(r32613)
@@ -281,27 +281,27 @@ void dct64_sse(short *out0,short *out1,r
 
 #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"
@@ -310,108 +310,108 @@ void dct64_sse(short *out0,short *out1,r
         "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)


More information about the MPlayer-cvslog mailing list