Table of Contents

Method ShiftLeft_ConstCore

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

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

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

[CLSCompliant(false)]
public static Vector128<sbyte> ShiftLeft_ConstCore(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 (每个元素的移位位数). The valid range is 1~7 (有效范围是 1~7).

args0 Vector128<sbyte>

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

args1 Vector128<sbyte>

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

Returns

Vector128<sbyte>

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

See Also

ShiftLeft_ConstCore(Vector128<byte>, int, Vector128<byte>, Vector128<byte>)

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

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

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

args0 Vector128<byte>

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

args1 Vector128<byte>

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

Returns

Vector128<byte>

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

See Also

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

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

public static Vector128<short> ShiftLeft_ConstCore(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 (每个元素的移位位数). The valid range is 1~15 (有效范围是 1~15).

args0 Vector128<short>

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

args1 Vector128<short>

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

Returns

Vector128<short>

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

See Also

ShiftLeft_ConstCore(Vector128<ushort>, int, Vector128<ushort>, Vector128<ushort>)

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

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

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

args0 Vector128<ushort>

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

args1 Vector128<ushort>

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

Returns

Vector128<ushort>

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

See Also

ShiftLeft_ConstCore(Vector128<int>, int, Vector128<int>, Vector128<int>)

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

public static Vector128<int> ShiftLeft_ConstCore(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 (每个元素的移位位数). The valid range is 1~31 (有效范围是 1~31).

args0 Vector128<int>

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

args1 Vector128<int>

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

Returns

Vector128<int>

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

See Also

ShiftLeft_ConstCore(Vector128<uint>, int, Vector128<uint>, Vector128<uint>)

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

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

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

args0 Vector128<uint>

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

args1 Vector128<uint>

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

Returns

Vector128<uint>

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

See Also

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

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

public static Vector128<long> ShiftLeft_ConstCore(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 (每个元素的移位位数). The valid range is 1~63 (有效范围是 1~63).

args0 Vector128<long>

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

args1 Vector128<long>

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

Returns

Vector128<long>

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

See Also

ShiftLeft_ConstCore(Vector128<ulong>, int, Vector128<ulong>, Vector128<ulong>)

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

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

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

args0 Vector128<ulong>

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

args1 Vector128<ulong>

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

Returns

Vector128<ulong>

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

See Also