Bugzilla – Bug 315463
[PATCH] use test eax,eax for cmp eax, 0
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by bmaurer@users.sf.net 2004-07-12 14:12:53 MST ---- 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). ---- Additional Comments From bmaurer@users.sf.net 2004-07-12 14:13:10 MST ---- Created an attachment (id=166445) mini-test-eax-eax.patch ---- Additional Comments From miguel@ximian.com 2004-07-17 01:12:39 MST ---- Looks ok to me to go in. CCing Zoltan to get permission to commit. ---- Additional Comments From bmaurer@users.sf.net 2004-08-14 18:46:26 MST ---- Done Imported an attachment (id=166445) Unknown operating system unknown. Setting to default OS "Other".