Skip to content

Commit

Permalink
Update src/m-st-ext.adoc
Browse files Browse the repository at this point in the history
Signed-off-by: Kersten Richter <[email protected]>
  • Loading branch information
kersten1 authored Jan 30, 2025
1 parent c02adc0 commit 3595b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/m-st-ext.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ latexmath:[$\textrm{dividend} = \textrm{divisor} \times \textrm{quotient} + \tex
====

If both the quotient and remainder are required from the same division,
the recommended code sequence is: `DIV[U]` `rdq`, `rs1`, `rs2`; `REM[U]` `rdr`,
the recommended code sequence is: `DIV[U] rdq, rs1, rs2; REM[U] rdr`,
`rs1`, `rs2` (`rdq` cannot be the same as `rs1` or `rs2`).
Microarchitectures can then fuse these into a single divide operation
instead of performing two separate divides.
Expand Down

0 comments on commit 3595b17

Please sign in to comment.