Author: zoltan
Date: 2006-09-27 05:04:53 -0400 (Wed, 27 Sep 2006)
New Revision: 65945
Modified:
branches/vargaz/mini-linear-il/mono/mono/mini/ChangeLog
branches/vargaz/mini-linear-il/mono/mono/mini/method-to-ir.c
Log:
2006-09-27 Zoltan Varga <[EMAIL PROTECTED]>
* method-to-ir.c: Add some new comments.
Modified: branches/vargaz/mini-linear-il/mono/mono/mini/ChangeLog
===================================================================
--- branches/vargaz/mini-linear-il/mono/mono/mini/ChangeLog 2006-09-27
08:11:29 UTC (rev 65944)
+++ branches/vargaz/mini-linear-il/mono/mono/mini/ChangeLog 2006-09-27
09:04:53 UTC (rev 65945)
@@ -1,5 +1,15 @@
+2006-09-27 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * method-to-ir.c: Add some new comments.
+
2006-09-26 Zoltan Varga <[EMAIL PROTECTED]>
+ * mini-codegen.c (mono_print_ins_index): Handle OP_LADD_IMM as well.
+
+ * method-to-ir.c: Add a FIXME.
+
+ * local-propagation.c: Add a new rule for optimizing op_ladd_imm +
load_membase.
+
* mini-exceptions.c (mono_handle_exception): Special case ia64 too when
determining
whenever an exception is caught by a try block.
Modified: branches/vargaz/mini-linear-il/mono/mono/mini/method-to-ir.c
===================================================================
--- branches/vargaz/mini-linear-il/mono/mono/mini/method-to-ir.c
2006-09-27 08:11:29 UTC (rev 65944)
+++ branches/vargaz/mini-linear-il/mono/mono/mini/method-to-ir.c
2006-09-27 09:04:53 UTC (rev 65945)
@@ -9981,7 +9981,8 @@
* code wouldn't need if (fp) all over the place. but that would mean the
hregs
* would no longer map to the machine hregs, so the code generators would
need to
* be modified. Also, on ia64 for example, niregs + nfregs > 256 ->
bitmasks
- * wouldn't work any more.
+ * wouldn't work any more. Duplicating the code in mono_local_regalloc ()
into
+ * fp/non-fp branches speeds it up by about 15%.
* - use sext/zext opcodes instead of shifts
* - add OP_ICALL
* - get rid of TEMPLOADs if possible and use vregs instead
@@ -10069,10 +10070,12 @@
* - remove unused opcodes from mini-ops.h, remove "op_" from the opcode names,
* remove the op_ opcodes from the cpu-..md files, clean up the cpu-..md
files.
* - optimize mono_regstate2_alloc_int/float.
- * - duplicating the code in mono_local_regalloc () into a fp/non-fp branches
speeds it
- * up by about 15%.
* - patch_delegate_trampoline () only works on call_membase, but the new JIT
can't create
- * it such code.
+ * such code.
+ * - need to write a tree optimization pass, but the creation of trees is
difficult, i.e.
+ * parts of the tree could be separated by other instructions, killing the
tree
+ * arguments, or stores killing loads etc. Also, should we fold loads into
other
+ * instructions if the result of the load is used multiple times ?
* - LAST MERGE: 65915.
*/
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches