Avx2.ShiftRightArithmetic Method

Definition

Overloads

ShiftRightArithmetic(Vector256<Int32>, Byte)

__m256i _mm256_srai_epi32 (__m256i a, int imm8)

VPSRAD ymm, ymm, imm8

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

_mm256_sra_epi32 (__m256i a, __m128i count)

VPSRAD ymm, ymm, xmm/m128

ShiftRightArithmetic(Vector256<Int16>, Byte)

__m256i _mm256_srai_epi16 (__m256i a, int imm8)

VPSRAW ymm, ymm, imm8

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

_mm256_sra_epi16 (__m256i a, __m128i count)

VPSRAW ymm, ymm, xmm/m128

ShiftRightArithmetic(Vector256<Int32>, Byte)

__m256i _mm256_srai_epi32 (__m256i a, int imm8)

VPSRAD ymm, ymm, imm8

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

Parameters

value
Vector256<Int32>
count
Byte

Returns

Vector256<Int32>

Applies to

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

_mm256_sra_epi32 (__m256i a, __m128i count)

VPSRAD ymm, ymm, xmm/m128

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

Parameters

value
Vector256<Int32>
count
Vector128<Int32>

Returns

Vector256<Int32>

Applies to

ShiftRightArithmetic(Vector256<Int16>, Byte)

__m256i _mm256_srai_epi16 (__m256i a, int imm8)

VPSRAW ymm, ymm, imm8

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

Parameters

value
Vector256<Int16>
count
Byte

Returns

Vector256<Int16>

Applies to

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

_mm256_sra_epi16 (__m256i a, __m128i count)

VPSRAW ymm, ymm, xmm/m128

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

Parameters

value
Vector256<Int16>
count
Vector128<Int16>

Returns

Vector256<Int16>

Applies to