• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisãoadb77a9f123114836b92c2c53dc88e90d840031c (tree)
Hora2019-06-16 22:31:40
AutorRichard Henderson <richard.henderson@lina...>
CommiterYoshinori Sato

Mensagem de Log

target/rx: Use prt_ldmi for XCHG_mr disassembly

Note that the ld == 3 case handled by prt_ldmi is decoded as
XCHG_rr and cannot appear here.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Message-Id: <20190607091116.49044-21-ysato@users.sourceforge.jp>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Mudança Sumário

Diff

--- a/target/rx/disas.c
+++ b/target/rx/disas.c
@@ -366,13 +366,7 @@ static bool trans_XCHG_rr(DisasContext *ctx, arg_XCHG_rr *a)
366366 /* xchg dsp[rs].<mi>,rd */
367367 static bool trans_XCHG_mr(DisasContext *ctx, arg_XCHG_mr *a)
368368 {
369- static const char msize[][4] = {
370- "b", "w", "l", "ub", "uw",
371- };
372- char dsp[8];
373-
374- rx_index_addr(ctx, dsp, a->ld, a->mi);
375- prt("xchg\t%s[r%d].%s, r%d", dsp, a->rs, msize[a->mi], a->rd);
369+ prt_ldmi(ctx, "xchg", a->ld, a->mi, a->rs, a->rd);
376370 return true;
377371 }
378372