[vector] vector shift operations
Adam Pocock
adam.pocock at oracle.com
Tue Feb 20 19:47:50 UTC 2018
I'm implementing Csuros approximate counters
(https://arxiv.org/abs/0904.3062) which have a data dependent shift in
them to recover the int value from the stored byte. I'd like to be able
to recover n ints from an array of n bytes using the Vector API, but
that requires left shifting each element of a vector of n ints by a data
dependent value from the vector of n bytes (encoded as ints for simplicity).
It looks like there is an instruction in AVX2 which does this from the
vpslld family
(https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=epi&techs=AVX2&cats=Shift&expand=4871).
Is there a roadmap somewhere for how much coverage the Vector API will
have over the wide space of intrinsics? Should we expect the API to grow
over time, or are the current operations the only ones which are
expected to be supported?
Thanks,
Adam
--
Adam Pocock
Principal Member of Technical Staff
Machine Learning Research Group
Oracle Labs, Burlington, MA
More information about the panama-dev
mailing list