diff options
author | H.J. Lu <hjl@lucon.org> | 2005-05-07 13:26:28 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-05-07 13:26:28 +0000 |
commit | adc4110afd5a4f52a7f0fc0f50302ed720f5b325 (patch) | |
tree | 0ff323d3b7bd31fda044e64b87c8c35a117df109 /opcodes/d10v-dis.c | |
parent | 06b49ab15bfea63915539a90c3f83e3a3926adf4 (diff) | |
download | binutils-redhat-adc4110afd5a4f52a7f0fc0f50302ed720f5b325.tar.gz |
2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
* d10v-dis.c (dis_2_short): Support 64bit host.
Diffstat (limited to 'opcodes/d10v-dis.c')
-rw-r--r-- | opcodes/d10v-dis.c | 3 |
1 files changed, 2 insertions, 1 deletions
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++) |