* genmdesc.c: Error out if the .md contains CEE_ opcodes if
MONO_ARCH_ENABLE_NORMALIZE_OPCODES is defined.
* cpu-amd64.md: Remove some unused opcodes.
svn path=/trunk/mono/; revision=96090
2008-02-18 Zoltan Varga <vargaz@gmail.com>
+ * genmdesc.c: Error out if the .md contains CEE_ opcodes if
+ MONO_ARCH_ENABLE_NORMALIZE_OPCODES is defined.
+
+ * cpu-amd64.md: Remove some unused opcodes.
+
* mini.h mini-ops.h mini.c: Define the OP_Ccc opcodes in mini-ops.h normally
like the other opcodes.
endfinally: len:9
endfilter: src1:a len:9
ckfinite: dest:f src1:f len:43
-mul.ovf: dest:i src1:i src2:i clob:1 len:10
-# this opcode is handled specially in the code generator
-mul.ovf.un: dest:i src1:i src2:i len:18
ceq: dest:c len:8
cgt: dest:c len:8
cgt.un: dest:c len:8
table = g_hash_table_new (g_str_hash, g_str_equal);
opcodes = g_new0 (OpDesc, OP_LAST);
+#ifndef MONO_ARCH_ENABLE_NORMALIZE_OPCODES
for (i = 0; i < MONO_CEE_LAST; ++i) {
desc = opcodes + i;
desc->num = i;
desc->name = mono_inst_name (i);
g_hash_table_insert (table, (char *)desc->name, desc);
}
+#endif
for (i = OP_LOAD; i < OP_LAST; ++i) {
desc = opcodes + i;
desc->num = i;