共用方式為


Sse2.PackSignedSaturate 方法

定義

多載

PackSignedSaturate(Vector128<Int32>, Vector128<Int32>)

__m128i _mm_packs_epi32 (__m128i a, __m128i b)

PACKSSDW xmm, xmm/m128

PackSignedSaturate(Vector128<Int16>, Vector128<Int16>)

__m128i _mm_packs_epi16 (__m128i a, __m128i b)

PACKSSWB xmm, xmm/m128

PackSignedSaturate(Vector128<Int32>, Vector128<Int32>)

__m128i _mm_packs_epi32 (__m128i a, __m128i b)

PACKSSDW xmm, xmm/m128

public:
 static System::Runtime::Intrinsics::Vector128<short> PackSignedSaturate(System::Runtime::Intrinsics::Vector128<int> left, System::Runtime::Intrinsics::Vector128<int> right);
public static System.Runtime.Intrinsics.Vector128<short> PackSignedSaturate (System.Runtime.Intrinsics.Vector128<int> left, System.Runtime.Intrinsics.Vector128<int> right);
static member PackSignedSaturate : System.Runtime.Intrinsics.Vector128<int> * System.Runtime.Intrinsics.Vector128<int> -> System.Runtime.Intrinsics.Vector128<int16>
Public Shared Function PackSignedSaturate (left As Vector128(Of Integer), right As Vector128(Of Integer)) As Vector128(Of Short)

參數

right
Vector128<Int32>

傳回

Vector128<Int16>

適用於

PackSignedSaturate(Vector128<Int16>, Vector128<Int16>)

__m128i _mm_packs_epi16 (__m128i a, __m128i b)

PACKSSWB xmm, xmm/m128

public:
 static System::Runtime::Intrinsics::Vector128<System::SByte> PackSignedSaturate(System::Runtime::Intrinsics::Vector128<short> left, System::Runtime::Intrinsics::Vector128<short> right);
public static System.Runtime.Intrinsics.Vector128<sbyte> PackSignedSaturate (System.Runtime.Intrinsics.Vector128<short> left, System.Runtime.Intrinsics.Vector128<short> right);
static member PackSignedSaturate : System.Runtime.Intrinsics.Vector128<int16> * System.Runtime.Intrinsics.Vector128<int16> -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Shared Function PackSignedSaturate (left As Vector128(Of Short), right As Vector128(Of Short)) As Vector128(Of SByte)

參數

right
Vector128<Int16>

傳回

Vector128<SByte>

適用於