Method vsetq_lane_u16
vsetq_lane_u16(ushort, v128, int)
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_u16(ushort a0, v128 a1, int a2)
Parameters
Type | Name | Description |
---|---|---|
ushort | a0 | UInt16 a0 |
v128 | a1 | 128-bit vector a1 |
int | a2 | Lane index to a1. Must be an immediate in the range of [0..7] |
Returns
Type | Description |
---|---|
v128 | 128-bit vector |