Method YShuffleX2Kernel_Args
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YShuffleX2Kernel_Args<TIdx>(Vector128<TIdx>, out Vector128<TIdx>, out Vector128<TIdx>, out Vector128<TIdx>, out Vector128<TIdx>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static void YShuffleX2Kernel_Args<TIdx>(Vector128<TIdx> indices, out Vector128<TIdx> args0, out Vector128<TIdx> args1, out Vector128<TIdx> args2, out Vector128<TIdx> args3) where TIdx : struct
Parameters
indices
Vector128<TIdx>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<TIdx>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<TIdx>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<TIdx>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<TIdx>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .
Type Parameters
TIdx
The element type of the indices parameter (索引参数的元素类型).
Exceptions
- NotSupportedException
These element types(
TIdx
) are not supported.
- See Also
YShuffleX2Kernel_Args<TIdx>(Vector128<TIdx>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector128<TIdx> args0, Vector128<TIdx> args1, Vector128<TIdx> args2, Vector128<TIdx> args3) YShuffleX2Kernel_Args<TIdx>(Vector128<TIdx> indices) where TIdx : struct
Parameters
indices
Vector128<TIdx>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
Returns
- (Vector128<TIdx> args0, Vector128<TIdx> args1, Vector128<TIdx> args2, Vector128<TIdx> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
Type Parameters
TIdx
The element type of the indices parameter (索引参数的元素类型).
Exceptions
- NotSupportedException
These element types(
TIdx
) are not supported.
YShuffleX2Kernel_Args(Vector128<sbyte>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[CLSCompliant(false)]
public static (Vector128<sbyte> args0, Vector128<sbyte> args1, Vector128<sbyte> args2, Vector128<sbyte> args3) YShuffleX2Kernel_Args(Vector128<sbyte> indices)
Parameters
indices
Vector128<sbyte>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector128<sbyte> args0, Vector128<sbyte> args1, Vector128<sbyte> args2, Vector128<sbyte> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
- See Also
YShuffleX2Kernel_Args(Vector128<byte>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
public static (Vector128<byte> args0, Vector128<byte> args1, Vector128<byte> args2, Vector128<byte> args3) YShuffleX2Kernel_Args(Vector128<byte> indices)
Parameters
indices
Vector128<byte>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector128<byte> args0, Vector128<byte> args1, Vector128<byte> args2, Vector128<byte> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
- See Also
YShuffleX2Kernel_Args(Vector128<short>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
public static (Vector128<short> args0, Vector128<short> args1, Vector128<short> args2, Vector128<short> args3) YShuffleX2Kernel_Args(Vector128<short> indices)
Parameters
indices
Vector128<short>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector128<short> args0, Vector128<short> args1, Vector128<short> args2, Vector128<short> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
- See Also
YShuffleX2Kernel_Args(Vector128<ushort>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[CLSCompliant(false)]
public static (Vector128<ushort> args0, Vector128<ushort> args1, Vector128<ushort> args2, Vector128<ushort> args3) YShuffleX2Kernel_Args(Vector128<ushort> indices)
Parameters
indices
Vector128<ushort>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector128<ushort> args0, Vector128<ushort> args1, Vector128<ushort> args2, Vector128<ushort> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
- See Also
YShuffleX2Kernel_Args(Vector128<int>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
public static (Vector128<int> args0, Vector128<int> args1, Vector128<int> args2, Vector128<int> args3) YShuffleX2Kernel_Args(Vector128<int> indices)
Parameters
indices
Vector128<int>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector128<int> args0, Vector128<int> args1, Vector128<int> args2, Vector128<int> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
- See Also
YShuffleX2Kernel_Args(Vector128<uint>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[CLSCompliant(false)]
public static (Vector128<uint> args0, Vector128<uint> args1, Vector128<uint> args2, Vector128<uint> args3) YShuffleX2Kernel_Args(Vector128<uint> indices)
Parameters
indices
Vector128<uint>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector128<uint> args0, Vector128<uint> args1, Vector128<uint> args2, Vector128<uint> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
- See Also
YShuffleX2Kernel_Args(Vector128<long>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
public static (Vector128<long> args0, Vector128<long> args1, Vector128<long> args2, Vector128<long> args3) YShuffleX2Kernel_Args(Vector128<long> indices)
Parameters
indices
Vector128<long>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector128<long> args0, Vector128<long> args1, Vector128<long> args2, Vector128<long> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
- See Also
YShuffleX2Kernel_Args(Vector128<ulong>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[CLSCompliant(false)]
public static (Vector128<ulong> args0, Vector128<ulong> args1, Vector128<ulong> args2, Vector128<ulong> args3) YShuffleX2Kernel_Args(Vector128<ulong> indices)
Parameters
indices
Vector128<ulong>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector128<ulong> args0, Vector128<ulong> args1, Vector128<ulong> args2, Vector128<ulong> args3)
The arguments provided for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数).
- See Also
YShuffleX2Kernel_Args(Vector128<sbyte>, out Vector128<sbyte>, out Vector128<sbyte>, out Vector128<sbyte>, out Vector128<sbyte>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[CLSCompliant(false)]
public static void YShuffleX2Kernel_Args(Vector128<sbyte> indices, out Vector128<sbyte> args0, out Vector128<sbyte> args1, out Vector128<sbyte> args2, out Vector128<sbyte> args3)
Parameters
indices
Vector128<sbyte>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<sbyte>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<sbyte>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<sbyte>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<sbyte>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .
- See Also
YShuffleX2Kernel_Args(Vector128<byte>, out Vector128<byte>, out Vector128<byte>, out Vector128<byte>, out Vector128<byte>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
public static void YShuffleX2Kernel_Args(Vector128<byte> indices, out Vector128<byte> args0, out Vector128<byte> args1, out Vector128<byte> args2, out Vector128<byte> args3)
Parameters
indices
Vector128<byte>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<byte>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<byte>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<byte>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<byte>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .
- See Also
YShuffleX2Kernel_Args(Vector128<short>, out Vector128<short>, out Vector128<short>, out Vector128<short>, out Vector128<short>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
public static void YShuffleX2Kernel_Args(Vector128<short> indices, out Vector128<short> args0, out Vector128<short> args1, out Vector128<short> args2, out Vector128<short> args3)
Parameters
indices
Vector128<short>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<short>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<short>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<short>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<short>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .
- See Also
YShuffleX2Kernel_Args(Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[CLSCompliant(false)]
public static void YShuffleX2Kernel_Args(Vector128<ushort> indices, out Vector128<ushort> args0, out Vector128<ushort> args1, out Vector128<ushort> args2, out Vector128<ushort> args3)
Parameters
indices
Vector128<ushort>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<ushort>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<ushort>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<ushort>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<ushort>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .
- See Also
YShuffleX2Kernel_Args(Vector128<int>, out Vector128<int>, out Vector128<int>, out Vector128<int>, out Vector128<int>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
public static void YShuffleX2Kernel_Args(Vector128<int> indices, out Vector128<int> args0, out Vector128<int> args1, out Vector128<int> args2, out Vector128<int> args3)
Parameters
indices
Vector128<int>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<int>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<int>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<int>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<int>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .
- See Also
YShuffleX2Kernel_Args(Vector128<uint>, out Vector128<uint>, out Vector128<uint>, out Vector128<uint>, out Vector128<uint>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[CLSCompliant(false)]
public static void YShuffleX2Kernel_Args(Vector128<uint> indices, out Vector128<uint> args0, out Vector128<uint> args1, out Vector128<uint> args2, out Vector128<uint> args3)
Parameters
indices
Vector128<uint>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<uint>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<uint>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<uint>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<uint>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .
- See Also
YShuffleX2Kernel_Args(Vector128<long>, out Vector128<long>, out Vector128<long>, out Vector128<long>, out Vector128<long>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
public static void YShuffleX2Kernel_Args(Vector128<long> indices, out Vector128<long> args0, out Vector128<long> args1, out Vector128<long> args2, out Vector128<long> args3)
Parameters
indices
Vector128<long>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<long>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<long>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<long>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<long>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .
- See Also
YShuffleX2Kernel_Args(Vector128<ulong>, out Vector128<ulong>, out Vector128<ulong>, out Vector128<ulong>, out Vector128<ulong>)
Arguments calculation for only shuffle on 2 vectors (在2个向量上进行仅换位的参数计算). Provide arguments for YShuffleX2Kernel_Core (为 YShuffleX2Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX2Mask to constrain the parameters (可使用 IndexX2Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1)
. Conditions: 0<=indices[i] && indices[i]<(Count*2)
.
[CLSCompliant(false)]
public static void YShuffleX2Kernel_Args(Vector128<ulong> indices, out Vector128<ulong> args0, out Vector128<ulong> args1, out Vector128<ulong> args2, out Vector128<ulong> args3)
Parameters
indices
Vector128<ulong>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<ulong>Arguments 0 (参数0). Used for YShuffleX2Kernel_Core .
args1
Vector128<ulong>Arguments 1 (参数1). Used for YShuffleX2Kernel_Core .
args2
Vector128<ulong>Arguments 2 (参数2). Used for YShuffleX2Kernel_Core .
args3
Vector128<ulong>Arguments 3 (参数3). Used for YShuffleX2Kernel_Core .