SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonfloat32_tvfmss_lane_f32(float32_t a, float32_t b, float32x2_t v, const int lane)Vector arithmetic / Multiply / Fused multiply-accumulate
Description
Floating-point fused Multiply-Subtract from 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 subtracts the results from the vector elements of the destination SIMD&FP register.
Results
Sd result
This intrinsic compiles to the following instructions:

FMLS Sd,Sn,Vm.S[lane]

Argument Preparation
a register: Sdb register: Snv register: Vm.2Slane minimum: 0; maximum: 1
Architectures
A64

Operation

CheckFPAdvSIMDEnabled64();
bits(datasize) operand1 = V[n];
bits(datasize) operand2 = V[m];
bits(datasize) operand3 = V[d];
bits(datasize) result;
bits(esize) element1;
bits(esize) element2;

for e = 0 to elements-1
    element1 = Elem[operand1, e, esize];
    element2 = Elem[operand2, e, esize];
    if sub_op then element1 = FPNeg(element1);
    Elem[result, e, esize] = FPMulAdd(Elem[operand3, e, esize], element1, element2, FPCR[]);

V[d] = result;