diff options
author | Nick Clifton <nickc@redhat.com> | 2013-06-26 10:31:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-06-26 10:31:38 +0000 |
commit | b5e04c2b908db5f41c0869981941440a6ca5ac3e (patch) | |
tree | 48b5bcb0b4063177caeb004da766b527da18f04b | |
parent | aaff8d734a2c15f2713005393f3fc49ba4b95729 (diff) | |
download | gdb-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.
-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 034a27f..28e023b 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 94344f8..3b585f7 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 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"; |