Table of Contents

Method ShiftRightArithmetic_ConstCore

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ShiftRightArithmetic_ConstCore(Vector256<sbyte>, int, Vector256<sbyte>, Vector256<sbyte>)

Core calculation for shifts (signed) each element of a vector right by the specified amount - Const (将向量的每个有符号元素算术右移指定量的核心计算 - 常量). Its arguments are derived from ShiftRightArithmetic_Args (其参数来源于 ShiftRightArithmetic_Args). Mnemonic: rt[i] := value[i] >> shiftAmount.

[CLSCompliant(false)]
public static Vector256<sbyte> ShiftRightArithmetic_ConstCore(Vector256<sbyte> value, int shiftAmount, Vector256<sbyte> args0, Vector256<sbyte> args1)

Parameters

value Vector256<sbyte>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~7 (有效范围是 1~7).

args0 Vector256<sbyte>

Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .

args1 Vector256<sbyte>

Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .

Returns

Vector256<sbyte>

A vector for each element after shift right (每个元素右移位后的一个向量).

See Also

ShiftRightArithmetic_ConstCore(Vector256<short>, int, Vector256<short>, Vector256<short>)

Core calculation for shifts (signed) each element of a vector right by the specified amount - Const (将向量的每个有符号元素算术右移指定量的核心计算 - 常量). Its arguments are derived from ShiftRightArithmetic_Args (其参数来源于 ShiftRightArithmetic_Args). Mnemonic: rt[i] := value[i] >> shiftAmount.

public static Vector256<short> ShiftRightArithmetic_ConstCore(Vector256<short> value, int shiftAmount, Vector256<short> args0, Vector256<short> args1)

Parameters

value Vector256<short>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~15 (有效范围是 1~15).

args0 Vector256<short>

Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .

args1 Vector256<short>

Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .

Returns

Vector256<short>

A vector for each element after shift right (每个元素右移位后的一个向量).

See Also

ShiftRightArithmetic_ConstCore(Vector256<int>, int, Vector256<int>, Vector256<int>)

Core calculation for shifts (signed) each element of a vector right by the specified amount - Const (将向量的每个有符号元素算术右移指定量的核心计算 - 常量). Its arguments are derived from ShiftRightArithmetic_Args (其参数来源于 ShiftRightArithmetic_Args). Mnemonic: rt[i] := value[i] >> shiftAmount.

public static Vector256<int> ShiftRightArithmetic_ConstCore(Vector256<int> value, int shiftAmount, Vector256<int> args0, Vector256<int> args1)

Parameters

value Vector256<int>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~31 (有效范围是 1~31).

args0 Vector256<int>

Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .

args1 Vector256<int>

Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .

Returns

Vector256<int>

A vector for each element after shift right (每个元素右移位后的一个向量).

See Also

ShiftRightArithmetic_ConstCore(Vector256<long>, int, Vector256<long>, Vector256<long>)

Core calculation for shifts (signed) each element of a vector right by the specified amount - Const (将向量的每个有符号元素算术右移指定量的核心计算 - 常量). Its arguments are derived from ShiftRightArithmetic_Args (其参数来源于 ShiftRightArithmetic_Args). Mnemonic: rt[i] := value[i] >> shiftAmount.

public static Vector256<long> ShiftRightArithmetic_ConstCore(Vector256<long> value, int shiftAmount, Vector256<long> args0, Vector256<long> args1)

Parameters

value Vector256<long>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~63 (有效范围是 1~63).

args0 Vector256<long>

Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .

args1 Vector256<long>

Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .

Returns

Vector256<long>

A vector for each element after shift right (每个元素右移位后的一个向量).

See Also