OSDN Git Service

* tc-score.c (do16_rdrs): Handle not! instruction especially.
authorNick Clifton <nickc@redhat.com>
Wed, 1 Nov 2006 10:29:49 +0000 (10:29 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 1 Nov 2006 10:29:49 +0000 (10:29 +0000)
* score-opc.h (score_opcodes): Delete modifier '0x'.
* gas/score/rD_rA.d: Correct not! and not.c instruction disassembly.
* gas/score/b.d: Correct b! and b instruction disassembly.

opcodes/ChangeLog
opcodes/score-opc.h

index 31b2051..2f7d890 100644 (file)
@@ -1,3 +1,7 @@
+2006-11-01  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * score-opc.h (score_opcodes): Delete modifier '0x'.
+
 2006-10-30  Paul Brook  <paul@codesourcery.com>
 
        * arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
index e6e672d..20437d7 100644 (file)
@@ -53,27 +53,27 @@ static struct score_opcode score_opcodes[] =
   {0x18000000, 0x3e000001, "andri\t\t%20-24r, %15-19r, 0x%1-14x"},
   {0x18000001, 0x3e000001, "andri.c\t\t%20-24r, %15-19r,0x%1-14x"},
   {0x00002004, 0x0000700f, "and!\t\t%8-11r, %4-7r"},
-  {0x08000000, 0x3e007c01, "bcs\t\t0x%b"                       },
-  {0x08000400, 0x3e007c01, "bcc\t\t0x%b"                       },
-  {0x08003800, 0x3e007c01, "bcnz\t\t0x%b"                      },
-  {0x08000001, 0x3e007c01, "bcsl\t\t0x%b"                      },
-  {0x08000401, 0x3e007c01, "bccl\t\t0x%b"                      },
-  {0x08003801, 0x3e007c01, "bcnzl\t\t0x%b"                     },
-  {0x00004000, 0x00007f00, "bcs!\t\t0x%b"                      },
-  {0x00004100, 0x00007f00, "bcc!\t\t0x%b"                      },
-  {0x00004e00, 0x00007f00, "bcnz!\t\t0x%b"                     },
-  {0x08001000, 0x3e007c01, "beq\t\t0x%b"                       },
-  {0x08001001, 0x3e007c01, "beql\t\t0x%b"                      },
-  {0x00004400, 0x00007f00, "beq!\t\t0x%b"                      },
-  {0x08000800, 0x3e007c01, "bgtu\t\t0x%b"                      },
-  {0x08001800, 0x3e007c01, "bgt\t\t0x%b"                       },
-  {0x08002000, 0x3e007c01, "bge\t\t0x%b"                       },
-  {0x08000801, 0x3e007c01, "bgtul\t\t0x%b"                     },
-  {0x08001801, 0x3e007c01, "bgtl\t\t0x%b"                      },
-  {0x08002001, 0x3e007c01, "bgel\t\t0x%b"                      },
-  {0x00004200, 0x00007f00, "bgtu!\t\t0x%b"                     },
-  {0x00004600, 0x00007f00, "bgt!\t\t0x%b"                      },
-  {0x00004800, 0x00007f00, "bge!\t\t0x%b"                      },
+  {0x08000000, 0x3e007c01, "bcs\t\t%b"                 },
+  {0x08000400, 0x3e007c01, "bcc\t\t%b"                 },
+  {0x08003800, 0x3e007c01, "bcnz\t\t%b"                },
+  {0x08000001, 0x3e007c01, "bcsl\t\t%b"                },
+  {0x08000401, 0x3e007c01, "bccl\t\t%b"                },
+  {0x08003801, 0x3e007c01, "bcnzl\t\t%b"               },
+  {0x00004000, 0x00007f00, "bcs!\t\t%b"                },
+  {0x00004100, 0x00007f00, "bcc!\t\t%b"                },
+  {0x00004e00, 0x00007f00, "bcnz!\t\t%b"               },
+  {0x08001000, 0x3e007c01, "beq\t\t%b"                 },
+  {0x08001001, 0x3e007c01, "beql\t\t%b"                },
+  {0x00004400, 0x00007f00, "beq!\t\t%b"                },
+  {0x08000800, 0x3e007c01, "bgtu\t\t%b"                },
+  {0x08001800, 0x3e007c01, "bgt\t\t%b"                 },
+  {0x08002000, 0x3e007c01, "bge\t\t%b"                 },
+  {0x08000801, 0x3e007c01, "bgtul\t\t%b"               },
+  {0x08001801, 0x3e007c01, "bgtl\t\t%b"                },
+  {0x08002001, 0x3e007c01, "bgel\t\t%b"                },
+  {0x00004200, 0x00007f00, "bgtu!\t\t%b"               },
+  {0x00004600, 0x00007f00, "bgt!\t\t%b"                },
+  {0x00004800, 0x00007f00, "bge!\t\t%b"                },
   {0x00000029, 0x3e0003ff, "bitclr.c\t%20-24r, %15-19r, 0x%10-14x"},
   {0x0000002b, 0x3e0003ff, "bitset.c\t%20-24r, %15-19r, 0x%10-14x"},
   {0x0000002d, 0x3e0003ff, "bittst.c\t%15-19r, 0x%10-14x"},
@@ -83,25 +83,25 @@ static struct score_opcode score_opcodes[] =
   {0x00006005, 0x00007007, "bitset!\t\t%8-11r, 0x%3-7x"},
   {0x00006006, 0x00007007, "bittst!\t\t%8-11r, 0x%3-7x"},
   {0x00006007, 0x00007007, "bittgl!\t\t%8-11r, 0x%3-7x"},
-  {0x08000c00, 0x3e007c01, "bleu\t\t0x%b"                      },
-  {0x08001c00, 0x3e007c01, "ble\t\t0x%b"                       },
-  {0x08002400, 0x3e007c01, "blt\t\t0x%b"                       },
-  {0x08000c01, 0x3e007c01, "bleul\t\t0x%b"                     },
-  {0x08001c01, 0x3e007c01, "blel\t\t0x%b"                      },
-  {0x08002401, 0x3e007c01, "bltl\t\t0x%b"                      },
-  {0x08003c01, 0x3e007c01, "bl\t\t0x%b"                        },
-  {0x00004300, 0x00007f00, "bleu!\t\t0x%b"                     },
-  {0x00004700, 0x00007f00, "ble!\t\t0x%b"                      },
-  {0x00004900, 0x00007f00, "blt!\t\t0x%b"                      },
-  {0x08002800, 0x3e007c01, "bmi\t\t0x%b"                       },
-  {0x08002801, 0x3e007c01, "bmil\t\t0x%b"                      },
-  {0x00004a00, 0x00007f00, "bmi!\t\t0x%b"                      },
-  {0x08001400, 0x3e007c01, "bne\t\t0x%b"                       },
-  {0x08001401, 0x3e007c01, "bnel\t\t0x%b"                      },
-  {0x00004500, 0x00007f00, "bne!\t\t0x%b"                      },
-  {0x08002c00, 0x3e007c01, "bpl\t\t0x%b"                       },
-  {0x08002c01, 0x3e007c01, "bpll\t\t0x%b"                      },
-  {0x00004b00, 0x00007f00, "bpl!\t\t0x%b"                      },
+  {0x08000c00, 0x3e007c01, "bleu\t\t%b"                },
+  {0x08001c00, 0x3e007c01, "ble\t\t%b"                 },
+  {0x08002400, 0x3e007c01, "blt\t\t%b"                 },
+  {0x08000c01, 0x3e007c01, "bleul\t\t%b"               },
+  {0x08001c01, 0x3e007c01, "blel\t\t%b"                },
+  {0x08002401, 0x3e007c01, "bltl\t\t%b"                },
+  {0x08003c01, 0x3e007c01, "bl\t\t%b"                  },
+  {0x00004300, 0x00007f00, "bleu!\t\t%b"               },
+  {0x00004700, 0x00007f00, "ble!\t\t%b"                },
+  {0x00004900, 0x00007f00, "blt!\t\t%b"                },
+  {0x08002800, 0x3e007c01, "bmi\t\t%b"                 },
+  {0x08002801, 0x3e007c01, "bmil\t\t%b"                },
+  {0x00004a00, 0x00007f00, "bmi!\t\t%b"                },
+  {0x08001400, 0x3e007c01, "bne\t\t%b"                 },
+  {0x08001401, 0x3e007c01, "bnel\t\t%b"                },
+  {0x00004500, 0x00007f00, "bne!\t\t%b"                },
+  {0x08002c00, 0x3e007c01, "bpl\t\t%b"                 },
+  {0x08002c01, 0x3e007c01, "bpll\t\t%b"                },
+  {0x00004b00, 0x00007f00, "bpl!\t\t%b"                },
   {0x00000008, 0x3e007fff, "brcs\t\t%15-19r"                   },
   {0x00000408, 0x3e007fff, "brcc\t\t%15-19r"                   },
   {0x00000808, 0x3e007fff, "brgtu\t\t%15-19r"                  },
@@ -165,15 +165,15 @@ static struct score_opcode score_opcodes[] =
   {0x00000c0c, 0x00007f0f, "brvsl!\t\t%4-7r"                   },
   {0x00000d0c, 0x00007f0f, "brvcl!\t\t%4-7r"                   },
   {0x00000e0c, 0x00007f0f, "brcnzl!\t\t%4-7r"                  },
-  {0x00000f0c, 0x00007f0f, "brl!\t\t%4-7r"                     },
-  {0x08003000, 0x3e007c01, "bvs\t\t0x%b"                       },
-  {0x08003400, 0x3e007c01, "bvc\t\t0x%b"                       },
-  {0x08003001, 0x3e007c01, "bvsl\t\t0x%b"                      },
-  {0x08003401, 0x3e007c01, "bvcl\t\t0x%b"                      },
-  {0x00004c00, 0x00007f00, "bvs!\t\t0x%b"                      },
-  {0x00004d00, 0x00007f00, "bvc!\t\t0x%b"                      },
-  {0x00004f00, 0x00007f00, "b!\t\t0x%b"                        },
-  {0x08003c00, 0x3e007c01, "b\t\t0x%b"                         },
+  {0x00000f0c, 0x00007f0f, "brl!\t\t%4-7r"                      },
+  {0x08003000, 0x3e007c01, "bvs\t\t%b"                 },
+  {0x08003400, 0x3e007c01, "bvc\t\t%b"                 },
+  {0x08003001, 0x3e007c01, "bvsl\t\t%b"                },
+  {0x08003401, 0x3e007c01, "bvcl\t\t%b"                },
+  {0x00004c00, 0x00007f00, "bvs!\t\t%b"                },
+  {0x00004d00, 0x00007f00, "bvc!\t\t%b"                },
+  {0x00004f00, 0x00007f00, "b!\t\t%b"                  },
+  {0x08003c00, 0x3e007c01, "b\t\t%b"                   },
   {0x30000000, 0x3ff00000, "cache\t\t%20-24d, [%15-19r, %0-14i]"},
   {0x30100000, 0x3ff00000, "cache\t\t%20-24d, [%15-19r, %0-14i]"},
   {0x30200000, 0x3ff00000, "cache\t\t%20-24d, [%15-19r, %0-14i]"},
@@ -245,10 +245,10 @@ static struct score_opcode score_opcodes[] =
   {0x0000005d, 0x3e0003ff, "extzb.c\t\t%20-24r, %15-19r"},
   {0x0000005e, 0x3e0003ff, "extzh\t\t%20-24r, %15-19r"},
   {0x0000005f, 0x3e0003ff, "extzh.c\t\t%20-24r, %15-19r"},
-  {0x04000001, 0x3e000001, "jl\t\t0x%j"},
-  {0x00003001, 0x00007001, "jl!\t\t0x%j"                       },
-  {0x00003000, 0x00007001, "j!\t\t0x%j"                        },
-  {0x04000000, 0x3e000001, "j\t\t0x%j"},
+  {0x04000001, 0x3e000001, "jl\t\t%j"},
+  {0x00003001, 0x00007001, "jl!\t\t%j"                 },
+  {0x00003000, 0x00007001, "j!\t\t%j"                  },
+  {0x04000000, 0x3e000001, "j\t\t%j"},
   {0x26000000, 0x3e000000, "lb\t\t%20-24r, [%15-19r, %0-14i]"},
   {0x2c000000, 0x3e000000, "lbu\t\t%20-24r, [%15-19r, %0-14i]"},
   {0x06000003, 0x3e000007, "lb\t\t%20-24r, [%15-19r, %3-14i]+"},