共用方式為


_mm_shuffle_pi16 (Streaming SIMD Extensions)

Microsoft Specific

Returns a combination of the four words of a.

__m64 _mm_shuffle_pi16(__m64 a , int n );
PSHUFW

Return Value

The selector n must be an immediate.

r0 := word (n&0x3) of a
r1 := word ((n>>2)&0x3) of a
r2 := word ((n>>4)&0x3) of a
r3 := word ((n>>6)&0x3) of a

Requirements

Header: mmintrin.h

END Microsoft Specific

See Also

Reference

Integer Intrinsics Using Streaming SIMD Extensions