From f1028381139fd9db3f1034228b96b580ed3aee8c Mon Sep 17 00:00:00 2001 From: thilo Date: Fri, 28 Oct 2011 21:54:06 +0000 Subject: [PATCH] My bad. Revert the FPU control word to old value instead of the new one of course. Thanks to marky for reporting this git-svn-id: svn://svn.icculus.org/quake3/trunk@2193 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/asm/ftola.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/asm/ftola.c b/code/asm/ftola.c index a2a4eaa..6e8ff06 100644 --- a/code/asm/ftola.c +++ b/code/asm/ftola.c @@ -89,7 +89,7 @@ int qvmftolx87(void) "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)