Mercurial > hg > CbC > old > device
changeset 764:742d9fcb778e
i64 basic worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 17 Nov 2010 19:12:54 +0900 |
parents | 3c09f0b8b377 |
children | d2c52bcbedc8 |
files | mc-code-i64.c |
diffstat | 1 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/mc-code-i64.c Wed Nov 17 18:29:40 2010 +0900 +++ b/mc-code-i64.c Wed Nov 17 19:12:54 2010 +0900 @@ -1475,33 +1475,33 @@ extern void code_i2c(int reg) { - use_data_reg(reg,1); - printf("\t%s %s,%s\n",cload(1,1), - register_name(reg,1),register_name(reg,SIZE_OF_INT)); +// use_data_reg(reg,1); +// printf("\t%s %s,%s\n",cload(1,1), +// register_name(reg,1),register_name(reg,SIZE_OF_INT)); } extern void code_i2s(int reg) { - use_data_reg(reg,1); - printf("\t%s %s,%s\n",cload(1,SIZE_OF_SHORT), - register_name(reg,2),register_name(reg,SIZE_OF_INT)); +// use_data_reg(reg,1); +// printf("\t%s %s,%s\n",cload(1,SIZE_OF_SHORT), +// register_name(reg,2),register_name(reg,SIZE_OF_INT)); } extern void code_u2uc(int reg) { - use_data_reg(reg,1); - printf("\t%s %s,%s\n",cload(0,1), - register_name(reg,1),register_name(reg,SIZE_OF_INT)); +// use_data_reg(reg,1); +// printf("\t%s %s,%s\n",cload(0,1), +// register_name(reg,1),register_name(reg,SIZE_OF_INT)); } extern void code_u2us(int reg) { - use_data_reg(reg,1); - printf("\t%s %s,%s\n",cload(0,SIZE_OF_SHORT), - register_name(reg,2),register_name(reg,SIZE_OF_INT)); +// use_data_reg(reg,1); +// printf("\t%s %s,%s\n",cload(0,SIZE_OF_SHORT), +// register_name(reg,2),register_name(reg,SIZE_OF_INT)); } void @@ -3875,7 +3875,7 @@ lvar(oreg); printf(",%s\n",frn); } else { - printf("\t%s %s,%s\n",opn,frn,grn); + printf("\t%s %s,%s\n",opn,grn,frn); } if (ox!=-1) free_register(ox); }