Method ShiftRightArithmetic
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
ShiftRightArithmetic(Vector512<sbyte>, int)
Shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector512<sbyte> ShiftRightArithmetic(Vector512<sbyte> value, int shiftAmount)
Parameters
value
Vector512<sbyte>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<sbyte>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightArithmetic(Vector512<short>, int)
Shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector512<short> ShiftRightArithmetic(Vector512<short> value, int shiftAmount)
Parameters
value
Vector512<short>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<short>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightArithmetic(Vector512<int>, int)
Shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector512<int> ShiftRightArithmetic(Vector512<int> value, int shiftAmount)
Parameters
value
Vector512<int>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<int>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightArithmetic(Vector512<long>, int)
Shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector512<long> ShiftRightArithmetic(Vector512<long> value, int shiftAmount)
Parameters
value
Vector512<long>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<long>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also