* alpha-dis.c (print_insn_alpha): Also mask the base opcode for
comparison.
This commit is contained in:
parent
60ee0d4a8b
commit
98c0272052
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-01-22 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* alpha-dis.c (print_insn_alpha): Also mask the base opcode for
|
||||
comparison.
|
||||
|
||||
2002-01-19 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h.
|
||||
|
|
|
@ -118,7 +118,7 @@ print_insn_alpha (memaddr, info)
|
|||
opcode_end = opcode_index[op + 1];
|
||||
for (opcode = opcode_index[op]; opcode < opcode_end; ++opcode)
|
||||
{
|
||||
if ((insn & opcode->mask) != opcode->opcode)
|
||||
if ((insn ^ opcode->opcode) & opcode->mask)
|
||||
continue;
|
||||
|
||||
if (!(opcode->flags & isa_mask))
|
||||
|
|
Loading…
Reference in a new issue