Table of Contents

Property YShuffleX4_AcceleratedTypes

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YShuffleX4_AcceleratedTypes

Types with hardware acceleration when running YShuffleX4 (运行 YShuffleX4 时具有硬件加速的类型).

public static TypeCodeFlags YShuffleX4_AcceleratedTypes { get; }

Property Value

TypeCodeFlags

Remarks

Meaning of suffixes (后缀的含义).

- (none): Normal (常规).

- Args: Arguments calculation for shuffle and clear on 4 vectors (在4个向量上进行换位的参数计算). Provide arguments for YShuffleX4_Core (为 YShuffleX4_Core 提供参数).

- Core. Core calculation for shuffle and clear on 4 vectors (在4个向量上进行换位的核心计算). Its arguments are derived from YShuffleX4_Args (其参数来源于 YShuffleX4_Args).

Similar methods (相似的方法).

- YShuffleX4(Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>): If the index value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零).

- YShuffleX4Insert(Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>): If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).

- YShuffleX4Kernel(Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>): If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). It has the best performance, and is used when you are sure that the index value is not out of range (它的性能最好, 用于确信索引值不会超出范围时).

Related hardware instructions (相关的硬件指令).

Architecture8bit16bit32bit64bit
Arm vqtbl4q_u8 (None)(None)(None)
Wasm(None)(None)(None)(None)
X86(None)(None)(None)(None)
See Also