[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 6/8] target/riscv: zfh: add Zfh cpu property
From: |
frank . chang |
Subject: |
[PATCH v6 6/8] target/riscv: zfh: add Zfh cpu property |
Date: |
Fri, 10 Dec 2021 15:43:25 +0800 |
From: Frank Chang <frank.chang@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
---
target/riscv/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index f812998123..0f808a5bee 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -629,6 +629,7 @@ static Property riscv_cpu_properties[] = {
DEFINE_PROP_BOOL("Counters", RISCVCPU, cfg.ext_counters, true),
DEFINE_PROP_BOOL("Zifencei", RISCVCPU, cfg.ext_ifencei, true),
DEFINE_PROP_BOOL("Zicsr", RISCVCPU, cfg.ext_icsr, true),
+ DEFINE_PROP_BOOL("Zfh", RISCVCPU, cfg.ext_zfh, false),
DEFINE_PROP_BOOL("mmu", RISCVCPU, cfg.mmu, true),
DEFINE_PROP_BOOL("pmp", RISCVCPU, cfg.pmp, true),
--
2.31.1
- [PATCH v6 0/8] target/riscv: support Zfh, Zfhmin extension v0.1, frank . chang, 2021/12/10
- [PATCH v6 1/8] target/riscv: zfh: half-precision load and store, frank . chang, 2021/12/10
- [PATCH v6 2/8] target/riscv: zfh: half-precision computational, frank . chang, 2021/12/10
- [PATCH v6 3/8] target/riscv: zfh: half-precision convert and move, frank . chang, 2021/12/10
- [PATCH v6 5/8] target/riscv: zfh: half-precision floating-point classify, frank . chang, 2021/12/10
- [PATCH v6 4/8] target/riscv: zfh: half-precision floating-point compare, frank . chang, 2021/12/10
- [PATCH v6 6/8] target/riscv: zfh: add Zfh cpu property,
frank . chang <=
- [PATCH v6 7/8] target/riscv: zfh: implement zfhmin extension, frank . chang, 2021/12/10
- [PATCH v6 8/8] target/riscv: zfh: add Zfhmin cpu property, frank . chang, 2021/12/10
- Re: [PATCH v6 0/8] target/riscv: support Zfh, Zfhmin extension v0.1, Alistair Francis, 2021/12/14