Table of Contents

Method YShuffleX4Kernel_Core_Combine

Namespace
Zyl.VectorTraits.Impl.AVector128
Assembly
VectorTraits.dll

YShuffleX4Kernel_Core_Combine(Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>)

Core calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的核心计算). Its arguments are derived from YShuffleX4Kernel_Args (其参数来源于 YShuffleX4Kernel_Args). Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3). Conditions: 0<=indices[i] && indices[i]<(Count*4).

public static Vector128<byte> YShuffleX4Kernel_Core_Combine(Vector128<byte> vector0, Vector128<byte> vector1, Vector128<byte> vector2, Vector128<byte> vector3, Vector128<byte> args0, Vector128<byte> args1, Vector128<byte> args2, Vector128<byte> args3)

Parameters

vector0 Vector128<byte>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector128<byte>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector128<byte>

The input vector 2 from which values are selected (从中选择值的输入向量2).

vector3 Vector128<byte>

The input vector 3 from which values are selected (从中选择值的输入向量3).

args0 Vector128<byte>

Arguments 0 (参数0). Derived from YShuffleX4Kernel_Args .

args1 Vector128<byte>

Arguments 1 (参数1). Derived from YShuffleX4Kernel_Args .

args2 Vector128<byte>

Arguments 2 (参数2). Derived from YShuffleX4Kernel_Args .

args3 Vector128<byte>

Arguments 3 (参数3). Derived from YShuffleX4Kernel_Args .

Returns

Vector128<byte>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also