diff options
author | Cooper Qu <cooper.qu@linux.alibaba.com> | 2020-09-02 14:05:49 +0800 |
---|---|---|
committer | Lifang Xia <lifang_xia@c-sky.com> | 2020-09-02 14:21:21 +0800 |
commit | 8119cc38379eb136a62b64f642ab4e3b6d4c6abd (patch) | |
tree | 86262c4b968de8d121fc59d5ca3b496dfd4bd32c | |
parent | e61ef79e3ad236e0cc4860ee984de0dd89d5d69f (diff) | |
download | gdb-8119cc38379eb136a62b64f642ab4e3b6d4c6abd.zip gdb-8119cc38379eb136a62b64f642ab4e3b6d4c6abd.tar.gz gdb-8119cc38379eb136a62b64f642ab4e3b6d4c6abd.tar.bz2 |
CSKY: Fix Encode of mulsws.
gas/
* testsuite/gas/csky/cskyv2_dsp.d : Fix Encode of mulsws.
opcodes/
* csky-opc.h (csky_v2_opcodes): Fix Encode of mulsws.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/csky/cskyv2_dsp.d | 2 | ||||
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/csky-opc.h | 2 |
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), |