[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 11/14] RISC-V: Set minimum priv version for Zfh to 1.11
From: |
Christoph Muellner |
Subject: |
[PATCH v5 11/14] RISC-V: Set minimum priv version for Zfh to 1.11 |
Date: |
Tue, 31 Jan 2023 21:20:10 +0100 |
From: Christoph Müllner <christoph.muellner@vrull.eu>
There are no differences for floating point instructions in priv version 1.11
and 1.12. There is also no dependency for Zfh to priv version 1.12.
Therefore allow Zfh to be enabled for priv version 1.11.
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
---
target/riscv/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 5679e2cb83..3078556f1b 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -77,7 +77,7 @@ static const struct isa_ext_data isa_edata_arr[] = {
ISA_EXT_DATA_ENTRY(zifencei, true, PRIV_VERSION_1_10_0, ext_ifencei),
ISA_EXT_DATA_ENTRY(zihintpause, true, PRIV_VERSION_1_10_0,
ext_zihintpause),
ISA_EXT_DATA_ENTRY(zawrs, true, PRIV_VERSION_1_12_0, ext_zawrs),
- ISA_EXT_DATA_ENTRY(zfh, true, PRIV_VERSION_1_12_0, ext_zfh),
+ ISA_EXT_DATA_ENTRY(zfh, true, PRIV_VERSION_1_11_0, ext_zfh),
ISA_EXT_DATA_ENTRY(zfhmin, true, PRIV_VERSION_1_12_0, ext_zfhmin),
ISA_EXT_DATA_ENTRY(zfinx, true, PRIV_VERSION_1_12_0, ext_zfinx),
ISA_EXT_DATA_ENTRY(zdinx, true, PRIV_VERSION_1_12_0, ext_zdinx),
--
2.39.1
- [PATCH v5 03/14] RISC-V: Adding XTheadBa ISA extension, (continued)
- [PATCH v5 03/14] RISC-V: Adding XTheadBa ISA extension, Christoph Muellner, 2023/01/31
- [PATCH v5 01/14] RISC-V: Adding XTheadCmo ISA extension, Christoph Muellner, 2023/01/31
- [PATCH v5 04/14] RISC-V: Adding XTheadBb ISA extension, Christoph Muellner, 2023/01/31
- [PATCH v5 05/14] RISC-V: Adding XTheadBs ISA extension, Christoph Muellner, 2023/01/31
- [PATCH v5 06/14] RISC-V: Adding XTheadCondMov ISA extension, Christoph Muellner, 2023/01/31
- [PATCH v5 07/14] RISC-V: Adding T-Head multiply-accumulate instructions, Christoph Muellner, 2023/01/31
- [PATCH v5 08/14] RISC-V: Adding T-Head MemPair extension, Christoph Muellner, 2023/01/31
- [PATCH v5 09/14] RISC-V: Adding T-Head MemIdx extension, Christoph Muellner, 2023/01/31
- [PATCH v5 10/14] RISC-V: Adding T-Head FMemIdx extension, Christoph Muellner, 2023/01/31
- [PATCH v5 13/14] RISC-V: Adding XTheadFmv ISA extension, Christoph Muellner, 2023/01/31
- [PATCH v5 11/14] RISC-V: Set minimum priv version for Zfh to 1.11,
Christoph Muellner <=
- [PATCH v5 12/14] RISC-V: Add initial support for T-Head C906, Christoph Muellner, 2023/01/31
- [PATCH v5 14/14] target/riscv: add a MAINTAINERS entry for XThead* extension support, Christoph Muellner, 2023/01/31