docs.unity.cn
    Show / Hide Table of Contents

    Method vtrn1q_s8

    vtrn1q_s8(v128, v128)

    Transpose vectors (primary). This instruction reads corresponding even-numbered vector elements from the two source SIMD&FP registers, starting at zero, places each result into consecutive elements of a vector, and writes the vector to the destination SIMD&FP register. Vector elements from the first source register are placed into even-numbered elements of the destination vector, starting at zero, while vector elements from the second source register are placed into odd-numbered elements of the destination vector.By using this instruction with TRN2, a 2 x 2 matrix can be transposed.Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped.
    Equivalent instruction: TRN1 Vd.16B,Vn.16B,Vm.16B

    Declaration
    public static v128 vtrn1q_s8(v128 a0, v128 a1)
    Parameters
    Type Name Description
    v128 a0

    128-bit vector a0

    v128 a1

    128-bit vector a1

    Returns
    Type Description
    v128

    128-bit vector

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use