Skip to content

Commit

Permalink
vcompress.vm: Check if there is any vector extension before using vec…
Browse files Browse the repository at this point in the history
…tor CSRs
  • Loading branch information
YenHaoChen committed Aug 1, 2024
1 parent 9572283 commit 5ec873e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions riscv/insns/vcompress_vm.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// vcompress vd, vs2, vs1
require_vector_vs;
require(P.VU.vstart->read() == 0);
require_align(insn.rd(), P.VU.vflmul);
require_align(insn.rs2(), P.VU.vflmul);
Expand Down

0 comments on commit 5ec873e

Please sign in to comment.