Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vxor test #634

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions configs/riscv64-dual-xs-ref_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ CONFIG_RV_IMSIC=y
CONFIG_GEILEN=5
CONFIG_RV_SSTC=y
CONFIG_RV_SMRNMI=y
CONFIG_RV_SMDBLTRP=y
# CONFIG_MDT_INIT is not set
CONFIG_RV_SSDBLTRP=y
CONFIG_NMIE_INIT=y
# CONFIG_RV_SMDBLTRP is not set
# CONFIG_RV_SSDBLTRP is not set
CONFIG_RV_ZICNTR=y
CONFIG_RV_CSR_TIME=y
CONFIG_RV_ZIHINTPAUSE=y
Expand Down
6 changes: 2 additions & 4 deletions configs/riscv64-xs-ref_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ CONFIG_RV_IMSIC=y
CONFIG_GEILEN=5
CONFIG_RV_SSTC=y
CONFIG_RV_SMRNMI=y
CONFIG_RV_SMDBLTRP=y
# CONFIG_MDT_INIT is not set
CONFIG_RV_SSDBLTRP=y
CONFIG_NMIE_INIT=y
# CONFIG_RV_SMDBLTRP is not set
# CONFIG_RV_SSDBLTRP is not set
CONFIG_RV_ZICNTR=y
CONFIG_RV_CSR_TIME=y
CONFIG_RV_ZIHINTPAUSE=y
Expand Down
5 changes: 4 additions & 1 deletion src/isa/riscv64/instr/rvv/vcompute_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,10 @@ void arthimetic_instr(int opcode, int is_signed, int widening, int narrow, int d
}
}
check_vstart_exception(s);
if(check_vstart_ignore(s)) return;
if(check_vstart_ignore(s)) {
vp_set_dirty();
return;
}
for(word_t idx = vstart->val; idx < vl->val; idx ++) {
// mask
rtlreg_t mask = get_mask(0, idx);
Expand Down