diff options
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/rx-decode.c | 2 | ||||
-rw-r--r-- | opcodes/rx-decode.opc | 2 |
3 files changed, 8 insertions, 2 deletions
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 <nickc@redhat.com> + + * 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 <macro@codesourcery.com> * 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"; |