aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/testsuite/gas/csky/cskyv2_dsp.d2
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/csky-opc.h2
4 files changed, 10 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0e2434f..303a332 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
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.
(dump_literals): Handle big constant.
(enter_literal): Likewise.
diff --git a/gas/testsuite/gas/csky/cskyv2_dsp.d b/gas/testsuite/gas/csky/cskyv2_dsp.d
index 3bc52fe..54845a9 100644
--- a/gas/testsuite/gas/csky/cskyv2_dsp.d
+++ b/gas/testsuite/gas/csky/cskyv2_dsp.d
@@ -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
#...
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 719cf05..a4e95ae 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -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.
diff --git a/opcodes/csky-opc.h b/opcodes/csky-opc.h
index 0a0b138..54203aa 100644
--- a/opcodes/csky-opc.h
+++ b/opcodes/csky-opc.h
@@ -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),