aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorCooper Qu <cooper.qu@linux.alibaba.com>2020-09-07 17:25:14 +0800
committerLifang Xia <lifang_xia@c-sky.com>2020-09-09 19:26:34 +0800
commit6a1ed9106f4f937eddc194915d6e3ec4ecc79f20 (patch)
treed9fdf754703e4e0d810f0a4562ee803ec85a7180 /gas/config
parenta2061b9f29ea1ae8d40d5627bb8e704fa9e95a67 (diff)
downloadgdb-6a1ed9106f4f937eddc194915d6e3ec4ecc79f20.zip
gdb-6a1ed9106f4f937eddc194915d6e3ec4ecc79f20.tar.gz
gdb-6a1ed9106f4f937eddc194915d6e3ec4ecc79f20.tar.bz2
CSKY: Change mvtc and mulsw's ISA flag.
gas/ * config/tc-csky.c (CSKYV2_ISA_DSP): CSKY_ISA_DSPE60. (CSKY_ISA_860): Likewise. include/ * opcode/csky.h (CSKY_ISA_DSPE60): Define. opcodes/ * csky-opc.h (csky_v2_opcodes): Change mvtc and mulsw's ISA flag.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-csky.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-csky.c b/gas/config/tc-csky.c
index 25f7713..2d57bd2 100644
--- a/gas/config/tc-csky.c
+++ b/gas/config/tc-csky.c
@@ -611,7 +611,7 @@ const struct csky_cpu_info csky_cpus[] =
/* CK801 series. */
#define CSKY_ISA_801 CSKYV2_ISA_E1
-#define CSKYV2_ISA_DSP (CSKY_ISA_DSP | CSKY_ISA_DSP_1E2)
+#define CSKYV2_ISA_DSP (CSKY_ISA_DSP | CSKY_ISA_DSP_1E2 | CSKY_ISA_DSPE60)
{"ck801", CSKY_ARCH_801, CSKY_ISA_801},
{"ck801t", CSKY_ARCH_801, CSKY_ISA_801 | CSKY_ISA_TRUST},
@@ -708,7 +708,7 @@ const struct csky_cpu_info csky_cpus[] =
{"ck810ftv", CSKY_ARCH_810_BASE | CSKY_ARCH_FLOAT, CSKY_ISA_810 | CSKYV2_ISA_DSP | CSKY_ISA_VDSP | CSKY_ISA_FLOAT_810 | CSKY_ISA_TRUST},
/* CK860 Series. */
-#define CSKY_ISA_860 (CSKY_ISA_810 | CSKYV2_ISA_10E60 | CSKYV2_ISA_3E3R3)
+#define CSKY_ISA_860 (CSKY_ISA_810 | CSKYV2_ISA_10E60 | CSKYV2_ISA_3E3R3 | CSKY_ISA_DSPE60)
#define CSKY_ISA_860F (CSKY_ISA_860 | CSKY_ISA_FLOAT_7E60)
{"ck860", CSKY_ARCH_860, CSKY_ISA_860},
{"ck860f", CSKY_ARCH_860, CSKY_ISA_860F},