Method YShuffleG2_Byte
- Namespace
 - Zyl.VectorTraits.Impl.AVector512
 
- Assembly
 - VectorTraits.dll
 
YShuffleG2_Byte(Vector512<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)].
[CLSCompliant(false)]
public static Vector512<uint> YShuffleG2_Byte(Vector512<uint> source, ShuffleControlG2 control)
Parameters
sourceVector512<uint>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<uint>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also