ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

Zmmul

T1 riscv feature feature
Integer multiplication
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon Scopev1.0.0 (ratified)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db

Summary

The Zmmul extension implements the multiplication subset of the M extension. It adds MUL, MULH, MULHU, MULHSU, and (for RV64 only) MULW. The encodings are identical to those of the corresponding M-extension instructions. M implies Zmmul.

Syntax / Encoding

Zmmul v1.0.0 (ratified)

Reference Notes

The `Zmmul` extension implements the multiplication subset of the `M` extension.
It adds `MUL`, `MULH`, `MULHU`, `MULHSU`, and (for RV64 only) `MULW`.
The encodings are identical to those of the corresponding M-extension instructions.
`M` implies `Zmmul`.

[NOTE]
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 hardwired multipliers but require dividers be
implemented in soft logic.