Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
tinebp committed Dec 6, 2024
1 parent 115ff2b commit aa6a47e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim/simx/execute_v.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2438,9 +2438,9 @@ void Emulator::loadVector(const Instr &instr, uint32_t wid, std::vector<reg_data
std::abort();
}
DP(4, "Whole vector register load with nreg: " << nreg);
uint32_t vsew_bits = 1 << (3 + instr.getVsew());
uint32_t stride = 1 << instr.getVsew();
uint32_t vsew_bits = stride * 8;
uint32_t vl = nreg * VLEN / vsew_bits;
WordI stride = instr.getVsew();
vector_op_vix_load(warp.vreg_file, this, rsdata[0][0].i, rdest, vsew_bits, vl, false, stride, 1, 0, vmask);
break;
}
Expand Down

0 comments on commit aa6a47e

Please sign in to comment.