共用方式為


_mm_packs_pu16

Microsoft Specific

Packs the four 16-bit values from m1 into the lower four 8-bit values of the result with unsigned saturation, and packs the four 16-bit values from m2 into the upper four 8-bit values of the result with unsigned saturation.

__m64 _mm_packs_pu16 (__m64 m1, __m64 m2);
PACKUSWB

Remarks

A synonym for _mm_packs_pu16 is _m_packuswb.

Requirements

Header: mmintrin.h

END Microsoft Specific

See Also

Reference

MMX Technology General Support Intrinsics