[Mono-dev] Patch: Ternary ops in mini and general ATOMIC_CAS

Mark Probst mark.probst at gmail.com
Fri Mar 13 10:30:41 EDT 2009


On Mon, Feb 23, 2009 at 10:10 PM, Zoltan Varga <vargaz at gmail.com> wrote:
> All this to add support for exactly one rarely used instruction, CAS.

As per Paolo's request I timed a --compile-all of
System.Windows.Forms.dll (which I chose instead of mscorlib.dll
because it's larger) with and without the patch.  It turns out with
the patch we're about 10% slower.  With the attached revised patch,
which uses macros for all the getter functions, the difference is
barely 3% (2.3166s vs 2.2522s, on x86).

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: n-ary-ops-macros.diff
Type: text/x-patch
Size: 74482 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090313/ea4ec345/attachment-0001.bin 


More information about the Mono-devel-list mailing list