[Mono-bugs] [Bug 61445][Wis] New - [PATCH] use test eax,eax for cmp eax, 0

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 12 Jul 2004 14:12:54 -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.


--- shadow/61445	2004-07-12 14:12:54.000000000 -0400
+++ shadow/61445.tmp.27748	2004-07-12 14:12:54.000000000 -0400
@@ -0,0 +1,21 @@
+Bug#: 61445
+Product: Mono: Runtime
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: [PATCH] use test eax,eax for cmp eax, 0
+Right now, we only use test eax,eax if it is an equality comparison.
+However, test eax, eax is *EXACTLY* the same as cmp eax, 0, for all cases.
+This patch uses it in all cases (as it is shorter).