vmaddfp
Vector Multiply-Add Floating-Point
vmaddfp VRT,VRA,VRB,VRC
Performs a multiply-add operation on vector elements.
Details
For vmaddfp, the instruction multiplies each element of VSR[VRA+32] by the corresponding element of VSR[VRC+32], adds the result to the corresponding element of VSR[VRB+32], and stores the final result in VSR[VRT+32].
Pseudocode Operation
Programming Note
To use a multiply-add to perform an IEEE or Java compliant multiply, the addend must be −0.0.
Example
vmaddfp v1, v2, v3, v4
Encoding
Binary Layout
0
0
VRT
6
VRA
11
VRB
16
VRC
21
Operands
-
VRT
Target Vector Register -
VRA
Source Vector Register -
VRB
Source Vector Register -
VRC
Source Vector Register