• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisionda61f1256f55a5e9fc03f7c88e3caa425d6bf8cf (tree)
Zeit2022-01-21 14:52:56
AutorFrank Chang <frank.chang@sifi...>
CommiterAlistair Francis

Log Message

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>

Ändern Zusammenfassung

Diff

--- a/target/riscv/insn_trans/trans_rvv.c.inc
+++ b/target/riscv/insn_trans/trans_rvv.c.inc
@@ -152,7 +152,7 @@ static bool do_vsetvl(DisasContext *s, int rd, int rs1, TCGv s2)
152152 TCGv s1, dst;
153153
154154 if (!require_rvv(s) ||
155- !(has_ext(s, RVV) || s->ext_zve64f)) {
155+ !(has_ext(s, RVV) || s->ext_zve32f || s->ext_zve64f)) {
156156 return false;
157157 }
158158
@@ -188,7 +188,7 @@ static bool do_vsetivli(DisasContext *s, int rd, TCGv s1, TCGv s2)
188188 TCGv dst;
189189
190190 if (!require_rvv(s) ||
191- !(has_ext(s, RVV) || s->ext_zve64f)) {
191+ !(has_ext(s, RVV) || s->ext_zve32f || s->ext_zve64f)) {
192192 return false;
193193 }
194194