mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
target/riscv: rvv-1.0: Add Zve64f 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-3-frank.chang@sifive.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
b4a99d4027
commit
c7a26fb2f6
1 changed files with 4 additions and 2 deletions
|
@ -129,7 +129,8 @@ static bool do_vsetvl(DisasContext *s, int rd, int rs1, TCGv s2)
|
||||||
{
|
{
|
||||||
TCGv s1, dst;
|
TCGv s1, dst;
|
||||||
|
|
||||||
if (!require_rvv(s) || !has_ext(s, RVV)) {
|
if (!require_rvv(s) ||
|
||||||
|
!(has_ext(s, RVV) || s->ext_zve64f)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -164,7 +165,8 @@ static bool do_vsetivli(DisasContext *s, int rd, TCGv s1, TCGv s2)
|
||||||
{
|
{
|
||||||
TCGv dst;
|
TCGv dst;
|
||||||
|
|
||||||
if (!require_rvv(s) || !has_ext(s, RVV)) {
|
if (!require_rvv(s) ||
|
||||||
|
!(has_ext(s, RVV) || s->ext_zve64f)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue