summaryrefslogtreecommitdiffstats
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)
downloadppe42-binutils-b5e04c2b908db5f41c0869981941440a6ca5ac3e.tar.gz
ppe42-binutils-b5e04c2b908db5f41c0869981941440a6ca5ac3e.zip
* 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";
OpenPOWER on IntegriCloud