]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* rx-decode.opc (rx_decode_opcode): Check sd field as well as ss
authorNick Clifton <nickc@redhat.com>
Wed, 26 Jun 2013 10:31:38 +0000 (10:31 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Jun 2013 10:31:38 +0000 (10:31 +0000)
field when checking for type 2 nop.
* rx-decode.c: Regenerate.

opcodes/ChangeLog
opcodes/rx-decode.c
opcodes/rx-decode.opc

index 034a27ff2757da7f17ba98b2c0af9a6eacfcbd37..28e023b67ebabe226b5d80da865cd3b981c09137 100644 (file)
@@ -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"
index 94344f8ecc576771698df7e2eb7d547422443644..3b585f707cd3309dee49409aa1a289bbb1cdd03c 100644 (file)
@@ -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";
index 772e292148e99a47f51ce316966fde25496668d5..6237fe269715414425868bd9d97e2a65b99afbc5 100644 (file)
@@ -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";