zoo
zoo copied to clipboard
Implement "arithmetic" lane wise shift right.
Currently we support the shifting of lanes both left and right, with the "logical" semantics.
For example, shiftRightLanes:
https://github.com/thecppzoo/zoo/blob/4a13f5c67e95d3198b9e39aed2bb90c86eef678a/inc/zoo/swar/SWAR.h#L144-L171
There are many arithmetic operations that would like to have "arithmetic" shift right, shift right can be used as cheap division by two, then there are very clear use cases that we can anticipate enough for implementing this operation.