[Bug 30465] BridgeCentral: Invalid floating point operation in mozjs.dll (fldcw in JSDOUBLE_IS_INT32)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 17 06:55:24 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30465

--- Comment #5 from Ulrik Dickow <u.dickow at gmail.com> 2012-04-17 06:55:24 CDT ---
Created attachment 39837
  --> http://bugs.winehq.org/attachment.cgi?id=39837
Perl script replacing 387 code with SSE2 equivalent in mozjs.dll for Gecko
1.4+1.5

This Perl script is a useful quick-fix for all wine users hit by "Invalid
floating point operation" caused by invalid double-to-int32 conversions in
JSDOUBLE_IS_INT32 in either Gecko 1.4 or 1.5.  It replaces the old, slow and
exception-prone 387 instructions with the equivalent SSE2 instructions.  It
won't work on very old cpus without the SSE2 instruction set.

The script does a rather trivial binary substitution.  You must apply it to the
DEBUG version of mozjs.dll in order for it to work.

With a mozjs.dll fixed by this script, BridgeCentral is completely stable,
without any crash, during hours of network connection.  Not surprising, in view
of the small test program previously submitted.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list