CSKY: Fix and add some instructions for VDSPV1.
authorCooper Qu <cooper.qu@linux.alibaba.com>
Mon, 12 Oct 2020 14:29:09 +0000 (22:29 +0800)
committerLifang Xia <xlf194833_xia@alibaba-inc.com>
Mon, 26 Oct 2020 08:13:55 +0000 (16:13 +0800)
commit039dac293d5df5d933808aa5d946b80fd0a84794
tree333b7a4b677577707bcb11c8042bf7a4e2945eda
parent069ef164801ff68e2ce5d24a2601b1fb6d3acedb
CSKY: Fix and add some instructions for VDSPV1.

gas/
* config/tc-csky.c (get_operand_value): Add handler for
OPRND_TYPE_IMM5b_VSH and OPRND_TYPE_VREG_WITH_INDEX.
* testsuite/gas/csky/csky_vdsp.d : Fix the disassembling
for vector register.

opcodes/
* csky-dis.c (csky_output_operand): Add handler for
OPRND_TYPE_IMM5b_VSH and OPRND_TYPE_VREG_WITH_INDEX.
* csky-opc.h (OPRND_TYPE_VREG_WITH_INDEX): New enum.
(OPRND_TYPE_IMM5b_VSH): New enum.
(csky_v2_opcodes): Fix and add some instructions for VDSPV1.

Change-Id: Ia5675d7b716fe5c331e6121ad8f83061ef6454bb
gas/ChangeLog
gas/config/tc-csky.c
gas/testsuite/gas/csky/csky_vdsp.d
opcodes/ChangeLog
opcodes/csky-dis.c
opcodes/csky-opc.h