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 Jan 23, 2025
1 parent 1434a76 commit c37c96b
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
P.any_vector_extensions();
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 c37c96b

Please sign in to comment.