[Libre-soc-dev] change sv ld/st to allow non-zero immediates for unit-strided load/store
lkcl
luke.leighton at gmail.com
Tue Oct 11 22:49:36 BST 2022
yep that one's too much.
l.
On October 11, 2022 10:47:55 PM GMT+01:00, Jacob Lifshay <programmerjake at gmail.com> wrote:
>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