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