[quake3-commits] r2193 - trunk/code/asm

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Oct 28 17:54:06 EDT 2011


Author: thilo
Date: 2011-10-28 17:54:06 -0400 (Fri, 28 Oct 2011)
New Revision: 2193

Modified:
   trunk/code/asm/ftola.c
Log:
My bad. Revert the FPU control word to old value instead of the new one of course. Thanks to marky for reporting this


Modified: trunk/code/asm/ftola.c
===================================================================
--- trunk/code/asm/ftola.c	2011-10-28 19:43:43 UTC (rev 2192)
+++ trunk/code/asm/ftola.c	2011-10-28 21:54:06 UTC (rev 2193)
@@ -89,7 +89,7 @@
     "fldcw %2\n"
     "flds (" EDI ", " EBX ", 4)\n"
     "fistpl (" EDI ", " EBX ", 4)\n"
-    "fldcw %2\n"
+    "fldcw %1\n"
     "mov (" EDI ", " EBX ", 4), %0\n"
     : "=r" (retval)
     : "m" (oldcw), "m" (fpucw)



More information about the quake3-commits mailing list