Skip to content

Commit

Permalink
My bad. Revert the FPU control word to old value instead of the new o…
Browse files Browse the repository at this point in the history
…ne of course. Thanks to marky for reporting this

git-svn-id: svn://svn.icculus.org/quake3/trunk@2193 edf5b092-35ff-0310-97b2-ce42778d08ea
  • Loading branch information
thilo committed Oct 28, 2011
1 parent 6869b8a commit f102838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/asm/ftola.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f102838

Please sign in to comment.