pub unsafe fn _mm_shuffle_epi8(a: __m128i, b: __m128i) -> __m128i
Available on (x86 or x86-64) and target feature
ssse3
and x86-64 only.Expand description
Shuffles bytes from a
according to the content of b
.
The last 4 bits of each byte of b
are used as addresses
into the 16 bytes of a
.
In addition, if the highest significant bit of a byte of b
is set, the respective destination byte is set to 0.
Picturing a
and b
as [u8; 16]
, _mm_shuffle_epi8
is
logically equivalent to: