summaryrefslogtreecommitdiff
path: root/opcodes/rx-decode.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-06-26 10:31:38 +0000
committerNick Clifton <nickc@redhat.com>2013-06-26 10:31:38 +0000
commitb5e04c2b908db5f41c0869981941440a6ca5ac3e (patch)
tree48b5bcb0b4063177caeb004da766b527da18f04b /opcodes/rx-decode.c
parentaaff8d734a2c15f2713005393f3fc49ba4b95729 (diff)
downloadbinutils-gdb-b5e04c2b908db5f41c0869981941440a6ca5ac3e.tar.gz
* rx-decode.opc (rx_decode_opcode): Check sd field as well as ss
field when checking for type 2 nop. * rx-decode.c: Regenerate.
Diffstat (limited to 'opcodes/rx-decode.c')
-rw-r--r--opcodes/rx-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/rx-decode.c b/opcodes/rx-decode.c
index 94344f8ecc5..3b585f707cd 100644
--- a/opcodes/rx-decode.c
+++ b/opcodes/rx-decode.c
@@ -6340,7 +6340,7 @@ rx_decode_opcode (unsigned long pc AU,
}
SYNTAX("mov%s %1, %0");
#line 307 "rx-decode.opc"
- if (ss == 3 && sz == 2 && rsrc == 0 && rdst == 0)
+ if (sd == 3 && ss == 3 && sz == 2 && rsrc == 0 && rdst == 0)
{
ID(nop2);
rx->syntax = "nop";