Non-Confidential | ![]() | DUI0801J | ||
| ||||
Home > A64 SIMD Scalar Instructions > FMLS (scalar, by element) |
Floating-point fused Multiply-Subtract from accumulator (by element).
FMLS
V
d
, V
n
, Vm
.Ts
[index
]
Where:
V
d
n
Ts
index
Vm
Supported in the Arm®v8.2 architecture and later.
Floating-point fused Multiply-Subtract from accumulator (by element). This instruction multiplies the vector elements in the first source SIMD and FP register by the specified value in the second source SIMD and FP register, and subtracts the results from the vector elements of the destination SIMD and 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 in the Arm® Architecture Reference Manual Arm®v8, for Arm®v8‑A architecture profile.
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.
The following table shows the valid specifier combinations:
Table 19-7 FMLS (Scalar, single-precision and double-precision) specifier combinations
V
|
Ts
|
index
|
---|---|---|
S | S | 0 to 3 |
D | D | 0 or 1 |