แก้ไข

แชร์ผ่าน


Sse2.ShiftRightArithmetic Method

Definition

Overloads

ShiftRightArithmetic(Vector128<Int16>, Byte)

__m128i _mm_srai_epi16 (__m128i a, int immediate)

PSRAW xmm, imm8

ShiftRightArithmetic(Vector128<Int16>, Vector128<Int16>)

__m128i _mm_sra_epi16 (__m128i a, __m128i count)

PSRAW xmm, xmm/m128

ShiftRightArithmetic(Vector128<Int32>, Byte)

__m128i _mm_srai_epi32 (__m128i a, int immediate)

PSRAD xmm, imm8

ShiftRightArithmetic(Vector128<Int32>, Vector128<Int32>)

__m128i _mm_sra_epi32 (__m128i a, __m128i count)

PSRAD xmm, xmm/m128

ShiftRightArithmetic(Vector128<Int16>, Byte)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_srai_epi16 (__m128i a, int immediate)

PSRAW xmm, imm8

public:
 static System::Runtime::Intrinsics::Vector128<short> ShiftRightArithmetic(System::Runtime::Intrinsics::Vector128<short> value, System::Byte count);
public static System.Runtime.Intrinsics.Vector128<short> ShiftRightArithmetic (System.Runtime.Intrinsics.Vector128<short> value, byte count);
static member ShiftRightArithmetic : System.Runtime.Intrinsics.Vector128<int16> * byte -> System.Runtime.Intrinsics.Vector128<int16>
Public Shared Function ShiftRightArithmetic (value As Vector128(Of Short), count As Byte) As Vector128(Of Short)

Parameters

value
Vector128<Int16>
count
Byte

Returns

Applies to

ShiftRightArithmetic(Vector128<Int16>, Vector128<Int16>)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_sra_epi16 (__m128i a, __m128i count)

PSRAW xmm, xmm/m128

public:
 static System::Runtime::Intrinsics::Vector128<short> ShiftRightArithmetic(System::Runtime::Intrinsics::Vector128<short> value, System::Runtime::Intrinsics::Vector128<short> count);
public static System.Runtime.Intrinsics.Vector128<short> ShiftRightArithmetic (System.Runtime.Intrinsics.Vector128<short> value, System.Runtime.Intrinsics.Vector128<short> count);
static member ShiftRightArithmetic : System.Runtime.Intrinsics.Vector128<int16> * System.Runtime.Intrinsics.Vector128<int16> -> System.Runtime.Intrinsics.Vector128<int16>
Public Shared Function ShiftRightArithmetic (value As Vector128(Of Short), count As Vector128(Of Short)) As Vector128(Of Short)

Parameters

value
Vector128<Int16>
count
Vector128<Int16>

Returns

Applies to

ShiftRightArithmetic(Vector128<Int32>, Byte)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_srai_epi32 (__m128i a, int immediate)

PSRAD xmm, imm8

public:
 static System::Runtime::Intrinsics::Vector128<int> ShiftRightArithmetic(System::Runtime::Intrinsics::Vector128<int> value, System::Byte count);
public static System.Runtime.Intrinsics.Vector128<int> ShiftRightArithmetic (System.Runtime.Intrinsics.Vector128<int> value, byte count);
static member ShiftRightArithmetic : System.Runtime.Intrinsics.Vector128<int> * byte -> System.Runtime.Intrinsics.Vector128<int>
Public Shared Function ShiftRightArithmetic (value As Vector128(Of Integer), count As Byte) As Vector128(Of Integer)

Parameters

value
Vector128<Int32>
count
Byte

Returns

Applies to

ShiftRightArithmetic(Vector128<Int32>, Vector128<Int32>)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_sra_epi32 (__m128i a, __m128i count)

PSRAD xmm, xmm/m128

public:
 static System::Runtime::Intrinsics::Vector128<int> ShiftRightArithmetic(System::Runtime::Intrinsics::Vector128<int> value, System::Runtime::Intrinsics::Vector128<int> count);
public static System.Runtime.Intrinsics.Vector128<int> ShiftRightArithmetic (System.Runtime.Intrinsics.Vector128<int> value, System.Runtime.Intrinsics.Vector128<int> count);
static member ShiftRightArithmetic : System.Runtime.Intrinsics.Vector128<int> * System.Runtime.Intrinsics.Vector128<int> -> System.Runtime.Intrinsics.Vector128<int>
Public Shared Function ShiftRightArithmetic (value As Vector128(Of Integer), count As Vector128(Of Integer)) As Vector128(Of Integer)

Parameters

value
Vector128<Int32>
count
Vector128<Int32>

Returns

Applies to