diff options
author | Cooper Qu <cooper.qu@linux.alibaba.com> | 2020-08-21 18:08:10 +0800 |
---|---|---|
committer | Lifang Xia <lifang_xia@c-sky.com> | 2020-08-24 10:25:03 +0800 |
commit | d04aee0f41da38682239b57af954bf294e26d9cb (patch) | |
tree | e9d0af2b5f1c696974221a5288e658fb483fb772 /include | |
parent | b9e188dc8ba81f99bb5e07ade6545ea3acc7ff3c (diff) | |
download | gdb-d04aee0f41da38682239b57af954bf294e26d9cb.zip gdb-d04aee0f41da38682239b57af954bf294e26d9cb.tar.gz gdb-d04aee0f41da38682239b57af954bf294e26d9cb.tar.bz2 |
CSKY: Add ck803r2 series cpu.
gas/
* config/tc-csky.c (CSKY_ISA_803R2): New.
(csky_archs): Add ck803r2 series.
(md_begin): Fix warning about -medsp.
(csky_get_freg_val): Support lowercase of fpu register name.
* testsuite/gas/csky/cskyv2_ck803r2.s: New file.
* testsuite/gas/csky/cskyv2_ck803r2.d: New file.
include/
* csky.h (CSKYV2_ISA_3E3R2): New.
opcodes/
* csky-opc.h (csky_v2_opcodes): Add instruction bnezad.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/csky.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 53597cf..22bf5a4 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com> + + * csky.h (CSKYV2_ISA_3E3R2): New. + 2020-08-21 Mark Wielaard <mark@klomp.org> * diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER): Also define diff --git a/include/opcode/csky.h b/include/opcode/csky.h index aa6bcce..9b9dcc3 100644 --- a/include/opcode/csky.h +++ b/include/opcode/csky.h @@ -29,6 +29,7 @@ #define CSKYV2_ISA_3E7 (1 << 4) #define CSKYV2_ISA_7E10 (1 << 5) #define CSKYV2_ISA_3E3R1 (1 << 6) +#define CSKYV2_ISA_3E3R2 (1 << 7) #define CSKY_ISA_TRUST (1 << 11) #define CSKY_ISA_CACHE (1 << 12) |