Intrinsics for Arithmetic Shift Operations
- _mm256_sra_epi16/32
Arithmetic shift of word/doubleword elements to right according to specified number. The corresponding Intel® AVX2 instruction is VPSRAW, or VPSRAD.
- _mm256_srai_epi16/32
Arithmetic shift of word/doubleword elements to right according to specified number. The corresponding Intel® AVX2 instruction is VPSRAW or VPSRAD.
- _mm256_srav_epi32
Arithmetic shift of doubleword elements to right according variable values. The corresponding Intel® AVX2 instruction is VPSRAVD.
- _mm_srav_epi32
Arithmetic shift of doubleword elements to right according variable values. The corresponding Intel® AVX2 instruction is VPSRAVD.