[Mono-bugs] [Bug 650439] poor performance (and wrong arithmetic result) of multi-thread code

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 3 21:55:16 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=650439

https://bugzilla.novell.com/show_bug.cgi?id=650439#c2


--- Comment #2 from Geoff Norton <gnorton at novell.com> 2010-11-04 01:55:14 UTC ---
Created an attachment (id=398517)
 --> (http://bugzilla.novell.com/attachment.cgi?id=398517)
patch

Interestingly, it appears that OSX unlike linux does not inherit our FPU flags,
which in this case caused us to invoke the delegate about 3x more often while
calculating the result, which also led to the change in precision.

Attached is a patch to set the fpu flags on every single thread in the runtime
as a new mono_arch call.  I have not guarded this as apple only, since its
likely implementation specific across at the very least x86.

Review comments?

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list