[Mono-bugs] [Bug 61740][Wis] New - [PATCH] use test esi, 1, not mov eax,esi/and eax,1/test eax,eax
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 19 Jul 2004 18:13:11 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=61740
--- shadow/61740 2004-07-19 18:13:11.000000000 -0400
+++ shadow/61740.tmp.1844 2004-07-19 18:13:11.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 61740
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] use test esi, 1, not mov eax,esi/and eax,1/test eax,eax
+
+The attached patch uses the x86 idiom
+
+ test esi, 1
+
+rather than
+
+ mov eax, esi
+ and eax, 1
+ test eax, eax
+
+Also, it does a similar optimization for membase loads.