(non-normative text):The Zmmul extension implements the multiplication subset of the M extension.
It adds all of the instructions defined in Section 9.1, namely: MUL, MULH, MULHU, MULHSU, and (for RV64 only) MULW.
The encodings are identical to those of the corresponding M-extension instructions.
The Zmmul extension enables low-cost implementations that require multiplication operations but not division.
For many microcontroller applications, division operations are too infrequent to justify the cost of divider hardware.
By contrast, multiplication operations are more frequent, making the cost of multiplier hardware more justifiable.
Simple FPGA soft cores particularly benefit from eliminating division but retaining multiplication,
since many FPGAs provide hard- wired multipliers but require dividers be implemented in soft logic.
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/19eec2de-87e4-4801-ab91-67e72c6a2b5fn%40groups.riscv.org.
It is also valid for a system to implement the existing M extension by having hardware multiplier but using trap-and-emulate for divide.
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/4156ce5b-fd38-4050-80e2-83af24f122d9n%40groups.riscv.org.
Hi, Allen,I wonder why providing such fine granularity to RISC-V extensions?I saw motivation is> For many microcontroller applications, division operations are too infrequent to justify the cost of divider hardware.
> By contrast, multiplication operations are more frequent, making the cost of multiplier hardware more justifiable.
> Simple FPGA soft cores particularly benefit from eliminating division but retaining multiplication,
> since many FPGAs provide hard- wired multipliers but require dividers be implemented in soft logic.IMHO, I think it is traded by increasing the fragmentation to extensions, which increase the burden to IP vender and compiler engineers. I just wondering if it is really worth to add this extension or split some mini-extensions out from current extension?
--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/19eec2de-87e4-4801-ab91-67e72c6a2b5fn%40groups.riscv.org.