aboutsummaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2022-03-15 09:04:03 +0800
committerKito Cheng <kito.cheng@sifive.com>2022-03-16 21:11:46 +0800
commit2a5fabeb2faffa671e9b0984ce3a6f76153d23d4 (patch)
treeeffbb74b265115718923171cb7cf49ed36ee9054 /gcc/common
parenteb4f83d1f100cae0cb66c6e6b4d67f5e53d3da51 (diff)
downloadgcc-2a5fabeb2faffa671e9b0984ce3a6f76153d23d4.zip
gcc-2a5fabeb2faffa671e9b0984ce3a6f76153d23d4.tar.gz
gcc-2a5fabeb2faffa671e9b0984ce3a6f76153d23d4.tar.bz2
RISC-V: Add version info for zk, zkn and zks
We just expand `zk`, `zkn` and `zks` before, but need version for combine them back. gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_ext_version_table): Add version info for zk, zks and zkn.
Diffstat (limited to 'gcc/common')
-rw-r--r--gcc/common/config/riscv/riscv-common.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc
index e4eedcd..48c4fab 100644
--- a/gcc/common/config/riscv/riscv-common.cc
+++ b/gcc/common/config/riscv/riscv-common.cc
@@ -165,6 +165,10 @@ static const struct riscv_ext_version riscv_ext_version_table[] =
{"zksh", ISA_SPEC_CLASS_NONE, 1, 0},
{"zkt", ISA_SPEC_CLASS_NONE, 1, 0},
+ {"zk", ISA_SPEC_CLASS_NONE, 1, 0},
+ {"zkn", ISA_SPEC_CLASS_NONE, 1, 0},
+ {"zks", ISA_SPEC_CLASS_NONE, 1, 0},
+
{"zve32x", ISA_SPEC_CLASS_NONE, 1, 0},
{"zve32f", ISA_SPEC_CLASS_NONE, 1, 0},
{"zve32d", ISA_SPEC_CLASS_NONE, 1, 0},