summaryrefslogtreecommitdiff
path: root/opcodes/rx-decode.opc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-06-26 10:31:37 +0000
committerNick Clifton <nickc@redhat.com>2013-06-26 10:31:37 +0000
commit558d0f77497d5cc676aacd3f355dc9b52c84617d (patch)
treee21fbec681dd5201acf4da9bdb4fb4eff9cb068c /opcodes/rx-decode.opc
parent0f3be057b10ad62773eaac0e3bd22c8336402e0b (diff)
downloadbinutils-redhat-558d0f77497d5cc676aacd3f355dc9b52c84617d.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.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 772e292148..6237fe2697 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";