Method vtrn2q_s8
vtrn2q_s8(v128, v128)
Transpose vectors (secondary). This instruction reads corresponding odd-numbered vector elements from the two source SIMD&FP registers, 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 TRN1, 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: TRN2 Vd.16B,Vn.16B,Vm.16B
Declaration
public static v128 vtrn2q_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 |