Method vfmas_lane_f32
vfmas_lane_f32(float, float, v64, int)
Floating-point fused Multiply-Add to accumulator (by element). This instruction multiplies the vector elements in the first source SIMD&FP register by the specified value in the second source SIMD&FP register, and accumulates the results in the vector elements of the destination SIMD&FP register. All the values in this instruction are floating-point values.This instruction can generate a floating-point exception. Depending on the settings in FPCR, the exception results in either a flag being set in FPSR or a synchronous exception being generated. For more information, see Floating-point exception traps.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: FMLA Sd,Sn,Vm.S[lane]
Declaration
public static float vfmas_lane_f32(float a0, float a1, v64 a2, int a3)
Parameters
Type | Name | Description |
---|---|---|
float | a0 | Single a0 |
float | a1 | Single a1 |
v64 | a2 | 64-bit vector a2 |
int | a3 | Lane index to a2. Must be an immediate in the range of [0..1] |
Returns
Type | Description |
---|---|
float | Single |