Method YShuffleG4X2_Const
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
YShuffleG4X2_Const(Vector<float>, Vector<float>, ShuffleControlG4, out Vector<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)
.
public override Vector<float> YShuffleG4X2_Const(Vector<float> source0, Vector<float> source1, ShuffleControlG4 control, out Vector<float> result1)
Parameters
source0
Vector<float>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<float>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<float>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<double>, Vector<double>, ShuffleControlG4, out Vector<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)
.
public override Vector<double> YShuffleG4X2_Const(Vector<double> source0, Vector<double> source1, ShuffleControlG4 control, out Vector<double> result1)
Parameters
source0
Vector<double>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<double>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<double>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<sbyte>, Vector<sbyte>, ShuffleControlG4, out Vector<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)
.
[CLSCompliant(false)]
public override Vector<sbyte> YShuffleG4X2_Const(Vector<sbyte> source0, Vector<sbyte> source1, ShuffleControlG4 control, out Vector<sbyte> result1)
Parameters
source0
Vector<sbyte>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<sbyte>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<sbyte>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<byte>, Vector<byte>, ShuffleControlG4, out Vector<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)
.
public override Vector<byte> YShuffleG4X2_Const(Vector<byte> source0, Vector<byte> source1, ShuffleControlG4 control, out Vector<byte> result1)
Parameters
source0
Vector<byte>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<byte>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<byte>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<short>, Vector<short>, ShuffleControlG4, out Vector<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)
.
public override Vector<short> YShuffleG4X2_Const(Vector<short> source0, Vector<short> source1, ShuffleControlG4 control, out Vector<short> result1)
Parameters
source0
Vector<short>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<short>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<short>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<ushort>, Vector<ushort>, ShuffleControlG4, out Vector<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)
.
[CLSCompliant(false)]
public override Vector<ushort> YShuffleG4X2_Const(Vector<ushort> source0, Vector<ushort> source1, ShuffleControlG4 control, out Vector<ushort> result1)
Parameters
source0
Vector<ushort>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<ushort>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<ushort>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<int>, Vector<int>, ShuffleControlG4, out Vector<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)
.
public override Vector<int> YShuffleG4X2_Const(Vector<int> source0, Vector<int> source1, ShuffleControlG4 control, out Vector<int> result1)
Parameters
source0
Vector<int>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<int>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<int>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<uint>, Vector<uint>, ShuffleControlG4, out Vector<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)
.
[CLSCompliant(false)]
public override Vector<uint> YShuffleG4X2_Const(Vector<uint> source0, Vector<uint> source1, ShuffleControlG4 control, out Vector<uint> result1)
Parameters
source0
Vector<uint>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<uint>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<uint>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<long>, Vector<long>, ShuffleControlG4, out Vector<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)
.
public override Vector<long> YShuffleG4X2_Const(Vector<long> source0, Vector<long> source1, ShuffleControlG4 control, out Vector<long> result1)
Parameters
source0
Vector<long>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<long>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<long>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also
YShuffleG4X2_Const(Vector<ulong>, Vector<ulong>, ShuffleControlG4, out Vector<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)
.
[CLSCompliant(false)]
public override Vector<ulong> YShuffleG4X2_Const(Vector<ulong> source0, Vector<ulong> source1, ShuffleControlG4 control, out Vector<ulong> result1)
Parameters
source0
Vector<ulong>The input source 0 from which values are selected (从中选择值的输入源0).
source1
Vector<ulong>The input source 1 from which values are selected (从中选择值的输入源1).
control
ShuffleControlG4Shuffle control code (换位控制码).
result1
Vector<ulong>Returns the 1st vector after shuffle (返回换位后的第1个向量).
Returns
- See Also