[Libre-soc-dev] change sv ld/st to allow non-zero immediates for unit-strided load/store
Jacob Lifshay
programmerjake at gmail.com
Tue Oct 11 22:47:55 BST 2022
On Tue, Oct 11, 2022, 13:47 Jacob Lifshay <programmerjake at gmail.com> wrote:
> to be clear, I'm *not* proposing post-increment (which is what your reply
> seem to be entirely about), i'm proposing unit-strided, no-update, with
> non-zero immediates, e.g.:
>
> sv.ld/unitstrided *r32, 64(r1)
>
> equivalent code:
> for i in range(VL):
> ea = 64 + regs[1]
> regs[i + 32] = mem(ea)
>
whoops, meant: ea = 64 + regs[1] + 8 * i
Jacob
>
More information about the Libre-soc-dev
mailing list