Multiply-accumulate signed : Multiplies $t1 by $t2 (signed) to form a 64-bit product, then adds that product to the current 64-bit value in HI:LO. Useful for computing dot-products or sums of products without extra move instructions.
madd
Operands
$reg, $regVariants
- Multiply-accumulate signed : Multiplies $t1 by $t2 (signed) to form a 64-bit product, then adds that product to the current 64-bit value in HI:LO. Useful for computing dot-products or sums of products without extra move instructions. madd $t1,$t2
# Start HI:LO at zero, then accumulate 6 times 7. Inspect HI:LO: 42.
mtlo $zero
mthi $zero
li $t0, 6
li $t1, 7
madd $t0, $t1
mflo $t2
mfhi $t3