Partager via


WMMX Shift Intrinsics (Windows Embedded CE 6.0)

1/5/2010

The intrinsics listed in the following table perform shift operations.

Intrinsic name Shift direction Shift type WMMX instruction

_mm_sll_pi16

Left

Logical

WSLLH

_mm_slli_pi16

Left

Logical

Composite

_mm_sll_pi32

Left

Logical

WSLLW

_mm_slli_pi32

Left

Logical

Composite

_mm_sll_si64

Left

Logical

WSLLD

_mm_slli_si64

Left

Logical

Composite

_mm_sra_pi16

Right

Arithmetic

WSRAH

_mm_srai_pi16

Right

Arithmetic

Composite

_mm_sra_pi32

Right

Arithmetic

WSRAW

_mm_srai_pi32

Right

Arithmetic

Composite

_mm_sra_pi64

Right

Arithmetic

WSRAD

_mm_srai_pi64

Right

Arithmetic

Composite

_mm_srl_pi16

Right

Logical

WSRLH

_mm_srli_pi16

Right

Logical

Composite

_mm_srl_pi32

Right

Logical

WSRLW

_mm_srli_pi32

Right

Logical

Composite

_mm_srl_si64

Right

Logical

WSRLD

_mm_srli_si64

Right

Logical

Composite

_mm_ror_pi16

Rotate right

Logical

WRORH

_mm_rori_pi16

Rotate right

Logical

WRORW

_mm_ror_pi32

Rotate right

Logical

WRORD

_mm_rori_pi32

Rotate right

Logical

Composite

_mm_ror_si64

Rotate right

Logical

Composite

_mm_rori_si64

Rotate right

Logical

Composite

See Also

Other Resources

WMMX Intrinsic Functions