X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=riscv%2Fsv.cc;h=9cc46507e524b5dfafd3d917762841426bd8dd0e;hb=833752a4ba3a70eb50aa51193409295a7ecceb55;hp=7f7846ae8d248f4165a93705ce83d8aaa135992b;hpb=37a9762f8bd82f66397ba1cfa1215660247b1e66;p=riscv-isa-sim.git diff --git a/riscv/sv.cc b/riscv/sv.cc index 7f7846a..9cc4650 100644 --- a/riscv/sv.cc +++ b/riscv/sv.cc @@ -66,7 +66,7 @@ bool sv_insn_t::sv_check_reg(bool intreg, uint64_t reg) * of SV. it's "supposed" to "just" be a vectorisation API. it isn't: * it's quite a bit more. */ -uint64_t sv_insn_t::remap(uint64_t reg, bool intreg, int &voffs, int &newoffs) +uint64_t sv_insn_t::remap(uint64_t reg, bool intreg, int &voffs) { // okaay so first determine which map to use. intreg is passed // in (ultimately) from id_regs.py's examination of the use of @@ -101,10 +101,6 @@ uint64_t sv_insn_t::remap(uint64_t reg, bool intreg, int &voffs, int &newoffs) // and, at last, we have "parallelism" a la contiguous registers. reg += voffs; // wheww :) - // however... before returning, we increment the loop-offset for - // this particular register, so that on the next loop the next - // contiguous register will be used. - newoffs = voffs + 1; return reg; }