2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 7 May 2005 13:26:28 +0000 (13:26 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 7 May 2005 13:26:28 +0000 (13:26 +0000)
* d10v-dis.c (dis_2_short): Support 64bit host.

opcodes/ChangeLog
opcodes/d10v-dis.c

index 9124e8a9487ec4743da8b9cc8d485bffcb878db3..30956eb81e2b06975eb1ecaf4dd0c2ffc6d4857d 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * d10v-dis.c (dis_2_short): Support 64bit host.
+
 2005-05-07  Nick Clifton  <nickc@redhat.com>
 
        * po/nl.po: Updated translation.
index e0930427ef17aae936c1166c5f5fcfd8c5d804b6..b5f232ad39cee3117ffd9002bb61c9134b83ea23 100644 (file)
@@ -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++)
This page took 0.043474 seconds and 4 git commands to generate.