Method ShiftRightArithmetic_Core
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
ShiftRightArithmetic_Core(Vector<sbyte>, int, Vector<sbyte>, Vector<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 Vector<sbyte> ShiftRightArithmetic_Core(Vector<sbyte> value, int shiftAmount, Vector<sbyte> args0, Vector<sbyte> args1)
Parameters
value
Vector<sbyte>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args0
Vector<sbyte>Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .
args1
Vector<sbyte>Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .
Returns
- See Also
ShiftRightArithmetic_Core(Vector<short>, int, Vector<short>, Vector<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 Vector<short> ShiftRightArithmetic_Core(Vector<short> value, int shiftAmount, Vector<short> args0, Vector<short> args1)
Parameters
value
Vector<short>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args0
Vector<short>Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .
args1
Vector<short>Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .
Returns
- See Also
ShiftRightArithmetic_Core(Vector<int>, int, Vector<int>, Vector<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 Vector<int> ShiftRightArithmetic_Core(Vector<int> value, int shiftAmount, Vector<int> args0, Vector<int> args1)
Parameters
value
Vector<int>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args0
Vector<int>Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .
args1
Vector<int>Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .
Returns
- See Also
ShiftRightArithmetic_Core(Vector<long>, int, Vector<long>, Vector<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 Vector<long> ShiftRightArithmetic_Core(Vector<long> value, int shiftAmount, Vector<long> args0, Vector<long> args1)
Parameters
value
Vector<long>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args0
Vector<long>Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .
args1
Vector<long>Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .
Returns
- See Also