riscv-p-spec
riscv-p-spec copied to clipboard
Add 32bit multiply with two 32bit add instruction
Instruction like UMAAL rd1, rd2, rs1, rs2 which sets the register pair rd1, rd2 to rs1 * rs2 + rd1 + rd2 will help multi precision multiplication a lot. Current spec includes UMAR64 and ADD64. These two can be used to optimize multi precision multiplication, but UMALL will save a significant cycles.