[vector] rearrange with implicit wrapping
John Rose
john.r.rose at oracle.com
Thu Apr 22 00:13:07 UTC 2021
On Apr 19, 2021, at 6:33 PM, Paul Sandoz <paul.sandoz at oracle.com<mailto:paul.sandoz at oracle.com>> wrote:
When the MSB is set, the corresponding element is cleared and that is what you are observing.
Let me know if you need me to handle it in the intrinsic.
I think it may be worth exploring an intrinsic solution to help make the best decision. I am concerned rearrange is fragile with regards to the input shuffle.
That’s why I was toying with the idea of “fill with zero”
as a recovery mode for bad indexes.
More information about the panama-dev
mailing list