risc-v

Definition

fmsub (RISC-V)

Computes a fused multiply-subtract of the floating-point values in registers b, c, and d, and stores the result in register a.

fmsub.s a, b, c, d

Equivalent C code:

a = (b * c) - d