summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-10-28 21:54:06 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:13:57 +0000
commitf8c22a16fb74c01dfc14b7f9d20835c134d6c55e (patch)
treec77463a9e1f1d9654c987edff1c4ef6c8a8404b4 /src
parent333c10313724eb3e9ec21f2d2a676e9c88fbf638 (diff)
My bad. Revert the FPU control word to old value instead of the new one of course. Thanks to marky for reporting this
Diffstat (limited to 'src')
-rw-r--r--src/asm/ftola.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm/ftola.c b/src/asm/ftola.c
index a2a4eaa0..6e8ff061 100644
--- a/src/asm/ftola.c
+++ b/src/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)