ara icon indicating copy to clipboard operation
ara copied to clipboard

vrgather is supported?

Open yanghao opened this issue 3 years ago • 4 comments

I see the vrgather test by default is disabled (not even compiling), and a simple try-out of vrgather causes the simulation to error out.

does ara support vrgather already?

Thanks.

yanghao avatar Oct 12 '21 21:10 yanghao

Currently not. @mp-17 is working on this on #74, but that PR is still experimental. We might be able to merge that into main in the next weeks.

suehtamacv avatar Oct 13 '21 08:10 suehtamacv

Sorry, I misread, I thought you were asking about gather, not rgather instructions. Regardless, Matteo's ideas on #74 can be used to implement the vrgather instruction as well, which is on our pipeline.

suehtamacv avatar Oct 13 '21 08:10 suehtamacv

Hello @yanghao,

Currently, Ara supports the following features: https://github.com/pulp-platform/ara/blob/main/FUNCTIONALITIES.md As @suehtamacv already pointed out, the gather instruction is in the working pipeline, but there is no concrete plan for vrgather in the short run. Are you working on particular programs that require it?

Best, Matteo

mp-17 avatar Oct 13 '21 08:10 mp-17

Thanks @suehtamacv for the information.

@mp-17 , I am currently working on bitonic sorting that seems cannot live without vrgather instructions. Instruction count wise, RVV is so much more efficient than AVX512, and can easily cover a larger range.

yanghao avatar Oct 13 '21 08:10 yanghao