[Mono-bugs] [Bug 73936][Min] Changed - gmcs does not optimize for space
Tue, 22 Mar 2005 12:26:03 -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 email@example.com.
--- shadow/73936 2005-03-22 11:55:03.000000000 -0500
+++ shadow/73936.tmp.9889 2005-03-22 12:26:03.000000000 -0500
@@ -187,6 +187,18 @@
------- Additional Comments From firstname.lastname@example.org 2005-03-22 11:55 -------
Thanks. By the way, does the JIT optimizer translate IL to IL first
or are all optimizations architecture-specific?
If it's to IL, would it be possible to add a -O flag to monodis so we
can see the optimized output?
+------- Additional Comments From email@example.com 2005-03-22 12:26 -------
+This specific optimization is done in arch-independent code when the
+IL code is translated to the jit internal representation. As this is
+internal to the jit there is no way to make such a monodis option (and
+it wouldn't make sense, since monodis is supposed to disassemble the
+code as it is).
+There are vague plans to use the Cecil library to implement IL->IL
+transformations and optimizations. So you may want to wait for that or
+help its implementation. The plans are vague because Cecil is very
+incomplete and the possible optimizations are very limited so it's not
+clear if someone will spend the time on it.