From: Nick Clifton Date: Wed, 26 Jun 2013 10:31:38 +0000 (+0000) Subject: * rx-decode.opc (rx_decode_opcode): Check sd field as well as ss X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5e04c2b908db5f41c0869981941440a6ca5ac3e;p=binutils-gdb.git * rx-decode.opc (rx_decode_opcode): Check sd field as well as ss field when checking for type 2 nop. * rx-decode.c: Regenerate. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 034a27ff275..28e023b67eb 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2013-06-26 Nick Clifton + + * rx-decode.opc (rx_decode_opcode): Check sd field as well as ss + field when checking for type 2 nop. + * rx-decode.c: Regenerate. + 2013-06-25 Maciej W. Rozycki * micromips-opc.c (micromips_opcodes): Add "jraddiusp", "jrc" 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"; diff --git a/opcodes/rx-decode.opc b/opcodes/rx-decode.opc index 772e292148e..6237fe26971 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";