[Mono-bugs] [Bug 61450][Nor] Changed - [PATCH] use xor esi, esi to set a regvar to 0
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 7 Aug 2004 16:15:29 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=61450
--- shadow/61450 2004-07-29 15:15:27.000000000 -0400
+++ shadow/61450.tmp.5128 2004-08-07 16:15:29.000000000 -0400
@@ -51,6 +51,9 @@
stmt: CEE_STIND_I (OP_REGVAR, OP_ICONST)
because the engine would choose to load the constant into a register
(as that also had a cost of two.
The newer version of the patch just makes the xor rule a zero cost rule.
+
+------- Additional Comments From vargaz@freemail.hu 2004-08-07 16:15 -------
+This is ok to check in.