target/riscv: rvv-1.0: Add Zve32f support for configuration insns
All Zve* extensions support the vector configuration instructions. Signed-off-by: Frank Chang <frank.chang@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20220118014522.13613-13-frank.chang@sifive.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
32e579b8c5
commit
da61f1256f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user