]> Git Repo - qemu.git/commitdiff
target/riscv: rvv-1.0: Add Zve32f support for configuration insns
authorFrank Chang <[email protected]>
Tue, 18 Jan 2022 01:45:15 +0000 (09:45 +0800)
committerAlistair Francis <[email protected]>
Fri, 21 Jan 2022 05:52:56 +0000 (15:52 +1000)
All Zve* extensions support the vector configuration instructions.

Signed-off-by: Frank Chang <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Message-id: 20220118014522[email protected]
Signed-off-by: Alistair Francis <[email protected]>
target/riscv/insn_trans/trans_rvv.c.inc

index 9fa3862620b4f388f89b4e6ecf00fad81f0cbb47..fd6e74c232cbc8afe601152caf5a32a3342e37d7 100644 (file)
@@ -152,7 +152,7 @@ static bool do_vsetvl(DisasContext *s, int rd, int rs1, TCGv s2)
     TCGv s1, dst;
 
     if (!require_rvv(s) ||
-        !(has_ext(s, RVV) || s->ext_zve64f)) {
+        !(has_ext(s, RVV) || s->ext_zve32f || s->ext_zve64f)) {
         return false;
     }
 
@@ -188,7 +188,7 @@ static bool do_vsetivli(DisasContext *s, int rd, TCGv s1, TCGv s2)
     TCGv dst;
 
     if (!require_rvv(s) ||
-        !(has_ext(s, RVV) || s->ext_zve64f)) {
+        !(has_ext(s, RVV) || s->ext_zve32f || s->ext_zve64f)) {
         return false;
     }
 
This page took 0.03163 seconds and 4 git commands to generate.