Integer multiply and divide
Type: unprivileged
| Version | State | Ratified |
|---|---|---|
| 2.0.0 | ratified | 2019-12 |
This chapter describes the standard integer multiplication and division instruction extension, which is named `M` and contains instructions that multiply or divide values held in two integer registers.
Tip: We separate integer multiply and divide out from the base to simplify low-end implementations, or for applications where integer multiply and divide operations are either infrequent or better handled in attached accelerators.
div — Signed divisiondivu — Unsigned divisiondivuw — Unsigned 32-bit divisiondivw — Signed 32-bit divisionrem — Signed remainderremu — Unsigned remainderremuw — Unsigned 32-bit remainderremw — Signed 32-bit remainderVersion af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.