vmladduhm
Vector Multiply-Low-Add Unsigned Halfword Modulo
vmladduhm VRT,VRA,VRB,VRC
Performs a vector multiply-low-add unsigned halfword modulo operation.
Details
For each integer value i from 0 to 7, the unsigned integer value in halfword element i of VSR[VRA+32] is multiplied by the unsigned integer value in halfword element i in VSR[VRB+32]. The product is added to the unsigned integer value in halfword element i of VSR[VRC+32]. The low-order 16 bits of the sum are placed into halfword element i of VSR[VRT+32].
Pseudocode Operation
Programming Note
vmladduhm can be used for unsigned or signed integers.
Example
vmladduhm v1, v2, v3, v4
Encoding
Binary Layout
1
0
VRT
6
VRA
11
VRB
16
VRC
21
0
26
0
30
0
31
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Operands
-
VRT
Target Vector Register -
VRA
Source Vector Register -
VRB
Source Vector Register -
VRC
Source Vector Register