Mercurial > hg > qcc
changeset 543:f5e9e8615e47
Michael Lewis had a problem with floating point on Windows, suggested a
minor tweak to fix it which should be a NOP on Linux.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 14 Dec 2007 19:57:38 -0600 |
parents | eca8c8d45d55 |
children | 7fb1cf0d8a84 |
files | tcc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tcc.c Fri Dec 14 19:35:54 2007 -0600 +++ b/tcc.c Fri Dec 14 19:57:38 2007 -0600 @@ -4154,7 +4154,7 @@ #ifdef TCC_TARGET_I386 /* for x86, we need to pop the FP stack */ if (v == TREG_ST0) { - o(0xd9dd); /* fstp %st(1) */ + o(0xd8dd); /* fstp %st(1) */ } else #endif if (v == VT_JMP || v == VT_JMPI) {