Method YShuffleG2
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YShuffleG2(Vector128<float>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<float> YShuffleG2(Vector128<float> source, ShuffleControlG2 control)Parameters
- sourceVector128<float>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<float>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<double>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<double> YShuffleG2(Vector128<double> source, ShuffleControlG2 control)Parameters
- sourceVector128<double>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<double>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<sbyte>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<sbyte> YShuffleG2(Vector128<sbyte> source, ShuffleControlG2 control)Parameters
- sourceVector128<sbyte>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<sbyte>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<byte>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<byte> YShuffleG2(Vector128<byte> source, ShuffleControlG2 control)Parameters
- sourceVector128<byte>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<byte>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<short>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<short> YShuffleG2(Vector128<short> source, ShuffleControlG2 control)Parameters
- sourceVector128<short>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<short>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<ushort>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<ushort> YShuffleG2(Vector128<ushort> source, ShuffleControlG2 control)Parameters
- sourceVector128<ushort>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<ushort>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<int>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<int> YShuffleG2(Vector128<int> source, ShuffleControlG2 control)Parameters
- sourceVector128<int>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<int>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<uint>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<uint> YShuffleG2(Vector128<uint> source, ShuffleControlG2 control)Parameters
- sourceVector128<uint>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<uint>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<long>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<long> YShuffleG2(Vector128<long> source, ShuffleControlG2 control)Parameters
- sourceVector128<long>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<long>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also
YShuffleG2(Vector128<ulong>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
Vector128<ulong> YShuffleG2(Vector128<ulong> source, ShuffleControlG2 control)Parameters
- sourceVector128<ulong>
- The input source from which values are selected (从中选择值的输入向量). 
- controlShuffleControlG2
- Shuffle control code (换位控制码). 
Returns
- Vector128<ulong>
- A new source containing the values from - sourceselected by the given- control(一个新向量,其中包含给定- control从- source中选择的值).
- See Also