Multiplication: set t1 to the lower 32 bits of t2*t3 using only the lower 32 bits of the input (64bit)
mulw
Operands
reg, reg, regVariants
- Multiplication: set t1 to the lower 32 bits of t2*t3 using only the lower 32 bits of the input (64bit) mulw t1,t2,t3
This example runs on RV64.
.text
li t0, 13
li t1, 5
# t0=13, t1=5; mulw writes 65 to t2.
mulw t2, t0, t1