diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-06-12 15:55:36 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-06-12 15:55:36 +0200 |
commit | ce24e07b7da96c71109a9f529e5de897b6b17374 (patch) | |
tree | bdf81fbe9d96b0ae0bd4e70f9e3e8b2fc4635b44 /target-cris | |
parent | 41107bcbc2ab9e2d53637976fc6f048ffa983dbb (diff) |
CRIS: Prettify sizes for the internal disasm.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-cris')
-rw-r--r-- | target-cris/translate.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c index 6a442813ab..fd9380cf60 100644 --- a/target-cris/translate.c +++ b/target-cris/translate.c @@ -2392,7 +2392,7 @@ static unsigned int dec_test_m(DisasContext *dc) TCGv t[2]; int memsize = memsize_zz(dc); int insn_len; - LOG_DIS("test.%d [$r%u%s] op2=%x\n", + LOG_DIS("test.%c [$r%u%s] op2=%x\n", memsize_char(memsize), dc->op1, dc->postinc ? "+]" : "]", dc->op2); @@ -2416,7 +2416,7 @@ static unsigned int dec_and_m(DisasContext *dc) TCGv t[2]; int memsize = memsize_zz(dc); int insn_len; - LOG_DIS("and.%d [$r%u%s, $r%u\n", + LOG_DIS("and.%c [$r%u%s, $r%u\n", memsize_char(memsize), dc->op1, dc->postinc ? "+]" : "]", dc->op2); @@ -2435,7 +2435,7 @@ static unsigned int dec_add_m(DisasContext *dc) TCGv t[2]; int memsize = memsize_zz(dc); int insn_len; - LOG_DIS("add.%d [$r%u%s, $r%u\n", + LOG_DIS("add.%c [$r%u%s, $r%u\n", memsize_char(memsize), dc->op1, dc->postinc ? "+]" : "]", dc->op2); @@ -2455,7 +2455,7 @@ static unsigned int dec_addo_m(DisasContext *dc) TCGv t[2]; int memsize = memsize_zz(dc); int insn_len; - LOG_DIS("add.%d [$r%u%s, $r%u\n", + LOG_DIS("add.%c [$r%u%s, $r%u\n", memsize_char(memsize), dc->op1, dc->postinc ? "+]" : "]", dc->op2); @@ -2474,7 +2474,7 @@ static unsigned int dec_bound_m(DisasContext *dc) TCGv l[2]; int memsize = memsize_zz(dc); int insn_len; - LOG_DIS("bound.%d [$r%u%s, $r%u\n", + LOG_DIS("bound.%c [$r%u%s, $r%u\n", memsize_char(memsize), dc->op1, dc->postinc ? "+]" : "]", dc->op2); @@ -2537,7 +2537,7 @@ static unsigned int dec_or_m(DisasContext *dc) TCGv t[2]; int memsize = memsize_zz(dc); int insn_len; - LOG_DIS("or.%d [$r%u%s, $r%u pc=%x\n", + LOG_DIS("or.%c [$r%u%s, $r%u pc=%x\n", memsize_char(memsize), dc->op1, dc->postinc ? "+]" : "]", dc->op2, dc->pc); @@ -2692,8 +2692,8 @@ static unsigned int dec_move_rm(DisasContext *dc) memsize = memsize_zz(dc); - LOG_DIS("move.%d $r%u, [$r%u]\n", - memsize, dc->op2, dc->op1); + LOG_DIS("move.%c $r%u, [$r%u]\n", + memsize_char(memsize), dc->op2, dc->op1); /* prepare store. */ cris_flush_cc_state(dc); |