Table of Contents

Method ShiftRightArithmetic_Core

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ShiftRightArithmetic_Core(Vector128<sbyte>, int, Vector128<sbyte>, Vector128<sbyte>)

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

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

Parameters

value Vector128<sbyte>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

args0 Vector128<sbyte>

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

args1 Vector128<sbyte>

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

Returns

Vector128<sbyte>

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

See Also

ShiftRightArithmetic_Core(Vector128<short>, int, Vector128<short>, Vector128<short>)

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

public static Vector128<short> ShiftRightArithmetic_Core(Vector128<short> value, int shiftAmount, Vector128<short> args0, Vector128<short> args1)

Parameters

value Vector128<short>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

args0 Vector128<short>

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

args1 Vector128<short>

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

Returns

Vector128<short>

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

See Also

ShiftRightArithmetic_Core(Vector128<int>, int, Vector128<int>, Vector128<int>)

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

public static Vector128<int> ShiftRightArithmetic_Core(Vector128<int> value, int shiftAmount, Vector128<int> args0, Vector128<int> args1)

Parameters

value Vector128<int>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

args0 Vector128<int>

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

args1 Vector128<int>

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

Returns

Vector128<int>

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

See Also

ShiftRightArithmetic_Core(Vector128<long>, int, Vector128<long>, Vector128<long>)

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

public static Vector128<long> ShiftRightArithmetic_Core(Vector128<long> value, int shiftAmount, Vector128<long> args0, Vector128<long> args1)

Parameters

value Vector128<long>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

args0 Vector128<long>

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

args1 Vector128<long>

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

Returns

Vector128<long>

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

See Also