Method YShuffleX4Kernel_Args_Combine1
- Namespace
- Zyl.VectorTraits.Impl.AVector256
- Assembly
- VectorTraits.dll
YShuffleX4Kernel_Args_Combine1(Vector256<byte>, out Vector256<byte>, out Vector256<byte>, out Vector256<byte>, out Vector256<byte>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static void YShuffleX4Kernel_Args_Combine1(Vector256<byte> indices, out Vector256<byte> args0, out Vector256<byte> args1, out Vector256<byte> args2, out Vector256<byte> args3)
Parameters
indices
Vector256<byte>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector256<byte>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector256<byte>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector256<byte>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector256<byte>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .