CSKY: Fix Encode of mulsws.
authorCooper Qu <cooper.qu@linux.alibaba.com>
Wed, 2 Sep 2020 06:05:49 +0000 (14:05 +0800)
committerLifang Xia <lifang_xia@c-sky.com>
Wed, 2 Sep 2020 06:21:21 +0000 (14:21 +0800)
gas/
* testsuite/gas/csky/cskyv2_dsp.d : Fix Encode of mulsws.

opcodes/
* csky-opc.h (csky_v2_opcodes): Fix Encode of mulsws.

gas/ChangeLog
gas/testsuite/gas/csky/cskyv2_dsp.d
opcodes/ChangeLog
opcodes/csky-opc.h

index 0e2434f98624626cf31d9113963efb6f2da6ab9e..303a332a0a4576b7846e41191d665c7982105d42 100644 (file)
@@ -1,3 +1,7 @@
+2020-09-02  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * testsuite/gas/csky/cskyv2_dsp.d : Fix Encode of mulsws.
+
 2020-09-02  Cooper Qu  <cooper.qu@linux.alibaba.com>
 
        * config/tc-csky.c (struct literal): New member bignum.
index 3bc52fee8c3355c73d557db17754391f6146b87f..54845a9c32ad9d26493a2c66d552fb2249f68fbc 100644 (file)
@@ -15,5 +15,5 @@ Disassembly of section \.text:
 \s*[0-9a-f]*:\s*c6689040\s*mulsha\s*r8,\s*r19
 \s*[0-9a-f]*:\s*c4319080\s*mulshs\s*r17,\s*r1
 \s*[0-9a-f]*:\s*c6ec9440\s*mulswa\s*r12,\s*r23
-\s*[0-9a-f]*:\s*c4a39480\s*mulsws\s*r3,\s*r5
+\s*[0-9a-f]*:\s*c4a39500\s*mulsws\s*r3,\s*r5
 #...
index 719cf05a3efe4fd3c79221e6f4f3452811df72dc..a4e95aea5e41c24a3f34e59ffcc7060a70bfa681 100644 (file)
@@ -1,3 +1,7 @@
+2020-09-02  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * csky-opc.h (csky_v2_opcodes): Fix Encode of mulsws.
+
 2020-09-01  Alan Modra  <amodra@gmail.com>
 
        * mep-ibld.c: Regenerate.
index 0a0b138fac7dfaea9d41a476788fd5b39fd856e9..54203aaab7eb2457a28475548f30dd3f5f260e8b 100644 (file)
@@ -2634,7 +2634,7 @@ const struct csky_opcode csky_v2_opcodes[] =
                        (21_25, AREG, OPRND_SHIFT_0_BIT)),
          CSKY_ISA_DSP),
     OP32 ("mulsws",
-         OPCODE_INFO2 (0xc4009480,
+         OPCODE_INFO2 (0xc4009500,
                        (16_20, AREG, OPRND_SHIFT_0_BIT),
                        (21_25, AREG, OPRND_SHIFT_0_BIT)),
          CSKY_ISA_DSP),