Table of Contents

Method ShiftRightLogical_Fast

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ShiftRightLogical_Fast(Vector128<sbyte>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

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

Parameters

value Vector128<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 0~7 (有效范围是 0~7).

Returns

Vector128<sbyte>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical_Fast(Vector128<byte>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

public static Vector128<byte> ShiftRightLogical_Fast(Vector128<byte> value, int shiftAmount)

Parameters

value Vector128<byte>

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

shiftAmount int

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

Returns

Vector128<byte>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical_Fast(Vector128<short>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

public static Vector128<short> ShiftRightLogical_Fast(Vector128<short> value, int shiftAmount)

Parameters

value Vector128<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 0~15 (有效范围是 0~15).

Returns

Vector128<short>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical_Fast(Vector128<ushort>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

[CLSCompliant(false)]
public static Vector128<ushort> ShiftRightLogical_Fast(Vector128<ushort> value, int shiftAmount)

Parameters

value Vector128<ushort>

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

shiftAmount int

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

Returns

Vector128<ushort>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical_Fast(Vector128<int>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

public static Vector128<int> ShiftRightLogical_Fast(Vector128<int> value, int shiftAmount)

Parameters

value Vector128<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 0~31 (有效范围是 0~31).

Returns

Vector128<int>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical_Fast(Vector128<uint>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

[CLSCompliant(false)]
public static Vector128<uint> ShiftRightLogical_Fast(Vector128<uint> value, int shiftAmount)

Parameters

value Vector128<uint>

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

shiftAmount int

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

Returns

Vector128<uint>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical_Fast(Vector128<long>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

public static Vector128<long> ShiftRightLogical_Fast(Vector128<long> value, int shiftAmount)

Parameters

value Vector128<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 0~63 (有效范围是 0~63).

Returns

Vector128<long>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical_Fast(Vector128<ulong>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

[CLSCompliant(false)]
public static Vector128<ulong> ShiftRightLogical_Fast(Vector128<ulong> value, int shiftAmount)

Parameters

value Vector128<ulong>

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

shiftAmount int

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

Returns

Vector128<ulong>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also