Table of Contents

Property YGroup2Zip_AcceleratedTypes

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup2Zip_AcceleratedTypes

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

TypeCodeFlags YGroup2Zip_AcceleratedTypes { get; }

Property Value

TypeCodeFlags

Remarks

YGroup2ZipLow + YGroup2ZipHigh = YGroup2Zip .

Inverse function (逆函数): YGroup2Unzip.

Sample (示例).

ElementsResult
1 f({x[0]}, {y[0]}) = ({x[0]}, {y[0]}). (Fallback)
2 f({x[0], x[1]}, {y[0], y[1]}) = ({x[0], y[0]}, {x[1], y[1]})
4 f({x[0], x[1], x[2], x[3]}, {y[0], y[1], y[2], y[3]}) = ({x[0], y[0], x[1], y[1]}, {x[2], y[2], x[3], y[3]})
8 f({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]}) = ({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]})
16 f({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]}) = ({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]})
......

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

Architecture8bit16bit32bit64bit
ArmSame vzip1q_u8,vzip2q_u8Same vzip1q_u16,vzip2q_u16Same vzip1q_u32,vzip2q_u32Same vzip1q_u64,vzip2q_u64
Wasm(None)(None)(None)(None)
X86Same _mm_unpacklo_epi8,_mm_unpackhi_epi8(Sse2)Same _mm_unpacklo_epi16,_mm_unpackhi_epi16(Sse2)Same _mm_unpacklo_epi32,_mm_unpackhi_epi32(Sse2)Same _mm_unpacklo_epi64,_mm_unpackhi_epi64(Sse2)
See Also