projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4f83d
)
RISC-V: Add version info for zk, zkn and zks
author
Kito Cheng
<kito.cheng@sifive.com>
Tue, 15 Mar 2022 01:04:03 +0000
(09:04 +0800)
committer
Kito Cheng
<kito.cheng@sifive.com>
Wed, 16 Mar 2022 13:11:46 +0000
(21:11 +0800)
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.
gcc/common/config/riscv/riscv-common.cc
patch
|
blob
|
history
diff --git
a/gcc/common/config/riscv/riscv-common.cc
b/gcc/common/config/riscv/riscv-common.cc
index
e4eedcd
..
48c4fab
100644
(file)
--- 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},