_m_psrldi
Classification
MMX, Shift, CPUID Test: MMX
Header File
Instruction
PSRLD mm, imm8
Synopsis
_m_psrldi(__m64 a, int imm8);
Description
Shift packed 32-bit integers in "a" right by "imm8" while shifting in zeros, and store the results in "dst".
Operation
FOR j := 0 to 1
i := j*32
IF imm8[7:0] > 31
dst[i+31:i] := 0
ELSE
dst[i+31:i] := ZeroExtend32(a[i+31:i] >> imm8[7:0])
FI
ENDFOR