Table of Contents

Property YGroup2Unzip_AcceleratedTypes

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YGroup2Unzip_AcceleratedTypes

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

public static TypeCodeFlags YGroup2Unzip_AcceleratedTypes { get; }

Property Value

TypeCodeFlags

Remarks

YGroup2UnzipEven + YGroup2UnzipOdd = YGroup2Unzip.

Inverse function (逆函数): YGroup2Zip.

Sample (示例).

ElementsResult
1 f({x[0]}, {y[0]}) = ({x[0]}, {y[0]}). (Fallback)
2 f({x[0], y[0]}, {x[1], y[1]}) = ({x[0], x[1]}, {y[0], y[1]})
4 f({x[0], y[0], x[1], y[1]}, {x[2], y[2], x[3], y[3]}) = ({x[0], x[1], x[2], x[3]}, {y[0], y[1], y[2], y[3]})
8 f({x[0], y[0], x[1], y[1], x[2], y[2], x[3], y[3]}, {x[4], y[4], x[5], y[5], x[6], y[6], x[7], y[7]}) = ({x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7]}, {y[0], y[1], y[2], y[3], y[4], y[5], y[6], y[7]})
16 f({x[0], y[0], x[1], y[1], x[2], y[2], x[3], y[3], x[4], y[4], x[5], y[5], x[6], y[6], x[7], y[7]}, {x[8], y[8], x[9], y[9], x[10], y[10], x[11], y[11], x[12], y[12], x[13], y[13], x[14], y[14], x[15], y[15]}) = ({x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9], x[10], x[11], x[12], x[13], x[14], x[15]}, {y[0], y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], y[10], y[11], y[12], y[13], y[14], y[15]})
......

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

Architecture8bit16bit32bit64bit
Arm vuzp1q_u8,vuzp2q_u8 vuzp1q_u16,vuzp2q_u16 vuzp1q_u32,vuzp2q_u32 vuzp1q_u64,vuzp2q_u64
Wasm(None)(None)(None)(None)
X86(None)(None)(None)(None)
See Also