Table of Contents

Property YGroup2Transpose_AcceleratedTypes

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup2Transpose_AcceleratedTypes

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

TypeCodeFlags YGroup2Transpose_AcceleratedTypes { get; }

Property Value

TypeCodeFlags

Remarks

YGroup2TransposeEven + YGroup2TransposeOdd = YGroup2Transpose.

Inverse function (逆函数): self (自身).

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[2], y[2]}, {x[1], y[1], 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[2], y[2], x[4], y[4], x[6], y[6]}, {x[1], y[1], x[3], y[3], x[5], y[5], 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[2], y[2], x[4], y[4], x[6], y[6], x[8], y[8], x[10], y[10], x[12], y[12], x[14], y[14]}, {x[1], y[1], x[3], y[3], x[5], y[5], x[7], y[7], x[9], y[9], x[11], y[11], x[13], y[13], x[15], y[15]})
......

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

Architecture8bit16bit32bit64bit
ArmSame vtrn1q_u8,vtrn2q_u8Same vtrn1q_u16,vtrn2q_u16Same vtrn1q_u32,vtrn2q_u32Same vtrn1q_u64,vtrn2q_u64
Wasm(None)(None)(None)(None)
X86(None)(None)(None)(None)
See Also