MMX Technology Shift Intrinsics
Microsoft Specific
The intrinsics listed in the following table are followed by a description of each intrinsic.
MMX intrinsics use the __m64 data type, which is not supported on x64 processors.
The header file mmintrin.h contains the declarations for the MMX intrinsics.
Shift Intrinsics
Intrinsic name |
Shift direction |
Shift type |
Corresponding instruction |
---|---|---|---|
Left |
Logical |
PSLLW |
|
Left |
Logical |
PSLLWI |
|
Left |
Logical |
PSLLD |
|
Left |
Logical |
PSLLDI |
|
Left |
Logical |
PSLLQ |
|
Left |
Logical |
PSLLQI |
|
Right |
Arithmetic |
PSRAW |
|
Right |
Arithmetic |
PSRAWI |
|
Right |
Arithmetic |
PSRAD |
|
Right |
Arithmetic |
PSRADI |
|
Right |
Logical |
PSRLW |
|
Right |
Logical |
PSRLWI |
|
Right |
Logical |
PSRLD |
|
Right |
Logical |
PSRLDI |
|
Right |
Logical |
PSRLQ |
|
Right |
Logical |
PSRLQI |