Method vsetq_lane_f32
vsetq_lane_f32(float, 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.S[lane],Rn
Declaration
public static v128 vsetq_lane_f32(float a0, v128 a1, int a2)
Parameters
Type | Name | Description |
---|---|---|
float | a0 | Single a0 |
v128 | a1 | 128-bit vector a1 |
int | a2 | Lane index to a1. Must be an immediate in the range of [0..3] |
Returns
Type | Description |
---|---|
v128 | 128-bit vector |