Table of Contents

Method YShuffleG4X2_Const

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YShuffleG4X2_Const(Vector512<float>, Vector512<float>, ShuffleControlG4, out Vector512<float>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<float> YShuffleG4X2_Const(Vector512<float> source0, Vector512<float> source1, ShuffleControlG4 control, out Vector512<float> result1)

Parameters

source0 Vector512<float>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<float>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<float>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<float>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<double>, Vector512<double>, ShuffleControlG4, out Vector512<double>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<double> YShuffleG4X2_Const(Vector512<double> source0, Vector512<double> source1, ShuffleControlG4 control, out Vector512<double> result1)

Parameters

source0 Vector512<double>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<double>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<double>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<double>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<sbyte>, Vector512<sbyte>, ShuffleControlG4, out Vector512<sbyte>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<sbyte> YShuffleG4X2_Const(Vector512<sbyte> source0, Vector512<sbyte> source1, ShuffleControlG4 control, out Vector512<sbyte> result1)

Parameters

source0 Vector512<sbyte>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<sbyte>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<sbyte>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<sbyte>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<byte>, Vector512<byte>, ShuffleControlG4, out Vector512<byte>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<byte> YShuffleG4X2_Const(Vector512<byte> source0, Vector512<byte> source1, ShuffleControlG4 control, out Vector512<byte> result1)

Parameters

source0 Vector512<byte>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<byte>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<byte>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<byte>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<short>, Vector512<short>, ShuffleControlG4, out Vector512<short>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<short> YShuffleG4X2_Const(Vector512<short> source0, Vector512<short> source1, ShuffleControlG4 control, out Vector512<short> result1)

Parameters

source0 Vector512<short>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<short>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<short>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<short>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<ushort>, Vector512<ushort>, ShuffleControlG4, out Vector512<ushort>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<ushort> YShuffleG4X2_Const(Vector512<ushort> source0, Vector512<ushort> source1, ShuffleControlG4 control, out Vector512<ushort> result1)

Parameters

source0 Vector512<ushort>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<ushort>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<ushort>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<ushort>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<int>, Vector512<int>, ShuffleControlG4, out Vector512<int>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<int> YShuffleG4X2_Const(Vector512<int> source0, Vector512<int> source1, ShuffleControlG4 control, out Vector512<int> result1)

Parameters

source0 Vector512<int>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<int>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<int>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<int>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<uint>, Vector512<uint>, ShuffleControlG4, out Vector512<uint>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<uint> YShuffleG4X2_Const(Vector512<uint> source0, Vector512<uint> source1, ShuffleControlG4 control, out Vector512<uint> result1)

Parameters

source0 Vector512<uint>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<uint>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<uint>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<uint>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<long>, Vector512<long>, ShuffleControlG4, out Vector512<long>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<long> YShuffleG4X2_Const(Vector512<long> source0, Vector512<long> source1, ShuffleControlG4 control, out Vector512<long> result1)

Parameters

source0 Vector512<long>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<long>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<long>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<long>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also

YShuffleG4X2_Const(Vector512<ulong>, Vector512<ulong>, ShuffleControlG4, out Vector512<ulong>)

For each 4-element group in two vector, shuffle is performed - Constant version (对于两个向量中的每个 4-元素组, 进行换位 - 常量版). Mnemonic: View for group: rt.xyzw = shuffleG4_ref(control, source0, source1). View for element: element_ref(i, result0, result1) := element_ref((i&(~3)) | ((control >> ((i&3)*2)) & 3), source0, source1).

Vector512<ulong> YShuffleG4X2_Const(Vector512<ulong> source0, Vector512<ulong> source1, ShuffleControlG4 control, out Vector512<ulong> result1)

Parameters

source0 Vector512<ulong>

The input source 0 from which values are selected (从中选择值的输入源0).

source1 Vector512<ulong>

The input source 1 from which values are selected (从中选择值的输入源1).

control ShuffleControlG4

Shuffle control code (换位控制码).

result1 Vector512<ulong>

Returns the 1st vector after shuffle (返回换位后的第1个向量).

Returns

Vector512<ulong>

Returns the 0th vector after shuffle (返回换位后的第0个向量).

See Also