qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] target/riscv: Tentatively remove Zhinx* from ISA extensi


From: Weiwei Li
Subject: Re: [PATCH 1/2] target/riscv: Tentatively remove Zhinx* from ISA extension string
Date: Thu, 28 Apr 2022 10:39:41 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0


在 2022/4/28 上午7:58, Alistair Francis 写道:
On Sun, Apr 24, 2022 at 3:22 PM Tsukasa OI <research_trasio@irq.a4lg.com> wrote:
This commit disables ISA string conversion for Zhinx and Zhinxmin
extensions for now.  Because extension category ordering of "H" is not
ratified, their ordering is likely invalid.

Once "H"-extension ordering is determined, we can add Zhinx* again.

Signed-off-by: Tsukasa OI <research_trasio@irq.a4lg.com>
Weiwei Li does this sound alright to you?

Alistair

Even though the rule says: "The first letter following the 'Z' conventionally indicates the most closely

related alphabetical extension category, IMAFDQLCBKJTPVH", zhinx* is not related to 'H' extension actually.

I think the most closely related alphabetical extension is 'F' extension.

Regards,

Weiwei Li

---
  target/riscv/cpu.c | 2 --
  1 file changed, 2 deletions(-)

diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 0c774056c5..c765f7ff00 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -954,8 +954,6 @@ static void riscv_isa_string_ext(RISCVCPU *cpu, char 
**isa_str, int max_str_len)
          ISA_EDATA_ENTRY(zfh, ext_zfh),
          ISA_EDATA_ENTRY(zfhmin, ext_zfhmin),
          ISA_EDATA_ENTRY(zfinx, ext_zfinx),
-        ISA_EDATA_ENTRY(zhinx, ext_zhinx),
-        ISA_EDATA_ENTRY(zhinxmin, ext_zhinxmin),
          ISA_EDATA_ENTRY(zdinx, ext_zdinx),
          ISA_EDATA_ENTRY(zba, ext_zba),
          ISA_EDATA_ENTRY(zbb, ext_zbb),
--
2.32.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]