Method vsetq_lane_s16
vsetq_lane_s16(Int16, v128, Int32)
Insert vector element from another vector element. This instruction copies the vector element of the source SIMD&FP register to the specified vector element of the destination SIMD&FP register.This instruction can insert data into individual elements within a SIMD&FP register without clearing the remaining bits to zero.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: MOV Vd.H[lane],Rn
Declaration
public static v128 vsetq_lane_s16(Int16 a0, v128 a1, Int32 a2)
Parameters
Type | Name | Description |
---|---|---|
Int16 | a0 | Int16 a0 |
v128 | a1 | 128-bit vector a1 |
Int32 | a2 | Lane index to a1. Must be an immediate in the range of [0..7] |
Returns
Type | Description |
---|---|
v128 | 128-bit vector |