From 920a34a7b250d714239941480610cc39649968f3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 7 May 2005 13:26:28 +0000 Subject: [PATCH] 2005-05-07 H.J. Lu * d10v-dis.c (dis_2_short): Support 64bit host. --- opcodes/ChangeLog | 4 ++++ opcodes/d10v-dis.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 9124e8a948..30956eb81e 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2005-05-07 H.J. Lu + + * d10v-dis.c (dis_2_short): Support 64bit host. + 2005-05-07 Nick Clifton * po/nl.po: Updated translation. diff --git a/opcodes/d10v-dis.c b/opcodes/d10v-dis.c index e0930427ef..b5f232ad39 100644 --- a/opcodes/d10v-dis.c +++ b/opcodes/d10v-dis.c @@ -253,7 +253,8 @@ dis_2_short (insn, memaddr, info, order) while (op->name) { if ((op->format & SHORT_OPCODE) - && ((op->mask & ins[j]) == (unsigned long) op->opcode)) + && ((((unsigned int) op->mask) & ins[j]) + == (unsigned int) op->opcode)) { (*info->fprintf_func) (info->stream, "%s\t", op->name); for (i = 0; op->operands[i]; i++) -- 2.34.1