[Mono-bugs] [Bug 40225][Wis] Changed - A wish for the JIT: Encode x * -1 with NEG EAX on x86
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 2 Apr 2003 12:08:08 -0500 (EST)
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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=40225
--- shadow/40225 Tue Mar 25 06:54:45 2003
+++ shadow/40225.tmp.13941 Wed Apr 2 12:08:08 2003
@@ -1,13 +1,13 @@
Bug#: 40225
Product: Mono/Runtime
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Wishlist
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: mathias.hasselmann@gmx.de
QAContact: mono-bugs@ximian.com
@@ -39,6 +39,9 @@
------- Additional Comments From lupus@ximian.com 2003-03-25 06:54 -------
It's something that is very easy to add (in a platform-independent
way, since a negation is always cheaper than a multiplication), but
note that, unless the jit can determine foo is a constant (or at least
non-zero) the optimization can't be applied to your code.
Also note that the condition of the for loop looks wrong, too.
+
+------- Additional Comments From lupus@ximian.com 2003-04-02 12:08 -------
+Done in the new jit.