• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisionc7a26fb2f6bafd45b983d81d180f624c0e8c4d2b (tree)
l'heure2022-01-21 14:52:56
AuteurFrank Chang <frank.chang@sifi...>
CommiterAlistair Francis

Message de Log

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>

Change Summary

Modification

--- a/target/riscv/insn_trans/trans_rvv.c.inc
+++ b/target/riscv/insn_trans/trans_rvv.c.inc
@@ -129,7 +129,8 @@ static bool do_vsetvl(DisasContext *s, int rd, int rs1, TCGv s2)
129129 {
130130 TCGv s1, dst;
131131
132- if (!require_rvv(s) || !has_ext(s, RVV)) {
132+ if (!require_rvv(s) ||
133+ !(has_ext(s, RVV) || s->ext_zve64f)) {
133134 return false;
134135 }
135136
@@ -164,7 +165,8 @@ static bool do_vsetivli(DisasContext *s, int rd, TCGv s1, TCGv s2)
164165 {
165166 TCGv dst;
166167
167- if (!require_rvv(s) || !has_ext(s, RVV)) {
168+ if (!require_rvv(s) ||
169+ !(has_ext(s, RVV) || s->ext_zve64f)) {
168170 return false;
169171 }
170172