Method YShuffleG4X2
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YShuffleG4X2(Vector<float>, Vector<float>, ShuffleControlG4, out Vector<float>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<float> YShuffleG4X2(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(Vector<double>, Vector<double>, ShuffleControlG4, out Vector<double>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<double> YShuffleG4X2(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(Vector<sbyte>, Vector<sbyte>, ShuffleControlG4, out Vector<sbyte>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<sbyte> YShuffleG4X2(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(Vector<byte>, Vector<byte>, ShuffleControlG4, out Vector<byte>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<byte> YShuffleG4X2(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(Vector<short>, Vector<short>, ShuffleControlG4, out Vector<short>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<short> YShuffleG4X2(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(Vector<ushort>, Vector<ushort>, ShuffleControlG4, out Vector<ushort>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<ushort> YShuffleG4X2(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(Vector<int>, Vector<int>, ShuffleControlG4, out Vector<int>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<int> YShuffleG4X2(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(Vector<uint>, Vector<uint>, ShuffleControlG4, out Vector<uint>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<uint> YShuffleG4X2(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(Vector<long>, Vector<long>, ShuffleControlG4, out Vector<long>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<long> YShuffleG4X2(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(Vector<ulong>, Vector<ulong>, ShuffleControlG4, out Vector<ulong>)
For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 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)
.
Vector<ulong> YShuffleG4X2(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