risc-v

Definition

fmad (RISC-V)

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

fmad.s a, b, c, d

Equivalent C code:

a = (b * c) + d