why vslideup intrinsics have dest parameter
datao2001 opened this issue · 2 comments
datao2001 commented
topperc commented
The dest parameter is there to support the "unchanged" part of this from the vector spec.
vslideup behavior for destination elements
OFFSET is amount to slideup, either from x register or a 5-bit immediate
0 < i < max(vstart, OFFSET) Unchanged
max(vstart, OFFSET) <= i < vl vd[i] = vs2[i-OFFSET] if v0.mask[i] enabled
vl <= i < VLMAX Follow tail policy
Slidedown does not have any "unchanged" elements that are not part of the tail so its intrinsic does not have a "dest" parameter.
kito-cheng commented
Close since I believe Craig has answered :)