summaryrefslogtreecommitdiff
path: root/src/asm/ftola.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm/ftola.c')
-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)