aboutsummaryrefslogtreecommitdiff
path: root/opcodes/rx-decode.opc
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.opc
parentaaff8d734a2c15f2713005393f3fc49ba4b95729 (diff)
downloadgdb-b5e04c2b908db5f41c0869981941440a6ca5ac3e.zip
gdb-b5e04c2b908db5f41c0869981941440a6ca5ac3e.tar.gz
gdb-b5e04c2b908db5f41c0869981941440a6ca5ac3e.tar.bz2
* 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.opc')
-rw-r--r--opcodes/rx-decode.opc2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/rx-decode.opc b/opcodes/rx-decode.opc
index 772e292..6237fe2 100644
--- a/opcodes/rx-decode.opc
+++ b/opcodes/rx-decode.opc
@@ -304,7 +304,7 @@ rx_decode_opcode (unsigned long pc AU,
ID(mov); sBWL (sz); DIs(dst, d*16+sppp, sz); SC(IMM(1)); F_____;
/** 11sz sd ss rsrc rdst mov%s %1, %0 */
- 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";