Vector.shiftER, Vector.shiftEL not working as expected.
Paul Sandoz
paul.sandoz at oracle.com
Tue Oct 10 21:14:37 UTC 2017
> On 10 Oct 2017, at 12:01, Richard Startin <richard at openkappa.co.uk> wrote:
>
> Hi Razvan, Paul,
>
> Thanks, I was expecting PSLLD/PSRLD for packed integers as per the start of my email.
Ok, i expect the following methods on IntVector (and friends) to be made intrinsic at some point leveraging such instructions:
public IntVector<S> shiftL(int s)
public IntVector<S> shiftR(int s)
public IntVector<S> aShiftR(int s)
> I am experimenting to see how fast integer compression algorithms such as [1] can go in Java. I'll keep an eye on the project and have another go when more has been intrinsified.
>
Thanks!
> Thanks for pushing the fix.
>
No problem. I made a choice on the lane L/R direction based on ascending indexes rather than descending indexes, as you expected in your test case, that seems more intuitive in terms of order.
Paul.
> [1] https://arxiv.org/pdf/1401.6399.pdf
>
More information about the panama-dev
mailing list