From 6283e552d4dce5bc06cf246115f2a639324dd658 Mon Sep 17 00:00:00 2001 From: Thilo Schulz 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 --- 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 a2a4eaa0..6e8ff061 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)