SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonfloat32x4_tvfmsq_f32(float32x4_t a, float32x4_t b, float32x4_t c)Vector arithmetic / Multiply / Fused multiply-accumulate
Description
Floating-point fused Multiply-Subtract from accumulator (vector). This instruction multiplies corresponding floating-point values in the vectors in the two source SIMD&FP registers, negates the product, adds the result to the corresponding vector element of the destination SIMD&FP register, and writes the result to the destination SIMD&FP register.
Results
Vd.4S result
This intrinsic compiles to the following instructions:

FMLS Vd.4S,Vn.4S,Vm.4S

Argument Preparation
a register: Vd.4Sb register: Vn.4Sc register: Vm.4S
Architectures
v7, A32, 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;