riscv-p-spec icon indicating copy to clipboard operation
riscv-p-spec copied to clipboard

Add 32bit multiply with two 32bit add instruction

Open ivq opened this issue 2 years ago • 0 comments

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.

ivq avatar Aug 12 '22 13:08 ivq