diff options
author | Weiwei Li <liweiwei@iscas.ac.cn> | 2022-02-04 10:26:57 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2022-02-16 12:25:52 +1000 |
commit | c5d77ddd8ebcd33da9561982e29c8f4b2dec0978 (patch) | |
tree | b56b397c7cb881dda2aa118cba93ca6296f5ddfc /target/riscv/cpu.h | |
parent | 2bacb22446a45b07f542d32b6d760da757233b20 (diff) | |
download | qemu-c5d77ddd8ebcd33da9561982e29c8f4b2dec0978.zip qemu-c5d77ddd8ebcd33da9561982e29c8f4b2dec0978.tar.gz qemu-c5d77ddd8ebcd33da9561982e29c8f4b2dec0978.tar.bz2 |
target/riscv: add support for svinval extension
- sinval.vma, hinval.vvma and hinval.gvma do the same as sfence.vma, hfence.vvma and hfence.gvma except extension check
- do nothing other than extension check for sfence.w.inval and sfence.inval.ir
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220204022658.18097-5-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/cpu.h')
-rw-r--r-- | target/riscv/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index cefccb4..8183fb8 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -359,6 +359,7 @@ struct RISCVCPUConfig { bool ext_counters; bool ext_ifencei; bool ext_icsr; + bool ext_svinval; bool ext_svnapot; bool ext_svpbmt; bool ext_zfh; |