Developer Guide and Reference



Arithmetic shift of doubleword elements to right according variable values. The corresponding Intel® AVX2 instruction is


extern __m128i _mm_srav_epi32(__m128i s1, __m128i s2);
128-bit integer source vector used for the operation
128-bit integer source vector providing variable values for shift operation
Performs an arithmetic shift of the 32 bits (doublewords) in the individual data elements in source vector
to the right by the count value of corresponding data elements in source vector
. As the bits in the data elements are shifted right, the empty high-order bits are filled with the initial value of the sign bit.
The count values are specified individually in each data element of the second source vector. If the unsigned integer value specified in the respective data element of the second source vector is greater than 31 (for a doubleword), then the destination data elements are filled with the initial value of the sign bit.
Result of the right-shift operation.

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804