mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-12 21:22:14 +00:00
My bad. Revert the FPU control word to old value instead of the new one of course. Thanks to marky for reporting this
This commit is contained in:
parent
9064a13409
commit
6283e552d4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue