diff options
Diffstat (limited to 'src/m-st-ext.adoc')
-rw-r--r-- | src/m-st-ext.adoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/m-st-ext.adoc b/src/m-st-ext.adoc index fc08be2..1c036cb 100644 --- a/src/m-st-ext.adoc +++ b/src/m-st-ext.adoc @@ -5,7 +5,7 @@ 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] +[NOTE] ==== We separate integer multiply and divide out from the base to simplify low-end implementations, or for applications where integer multiply and @@ -15,7 +15,7 @@ accelerators. === Multiplication Operations -include::images/wavedrom/m-st-ext-for-int-mult.adoc[] +include::images/wavedrom/m-st-ext-for-int-mult.edn[] [[m-st-ext-for-int-mult]] //.Multiplication operation instructions (((MUL, MULH))) @@ -52,7 +52,7 @@ to shift both arguments left by 32 bits, then use MULH[[S]U]. === Division Operations -include::images/wavedrom/division-op.adoc[] +include::images/wavedrom/division-op.edn[] [[division-op]] //.Division operation instructions (((MUL, DIV))) @@ -113,7 +113,7 @@ latexmath:[$-1$] |latexmath:[$2^{L}-1$] + //|Overflow (signed only) |latexmath:[$-2^{L-1}$] |latexmath:[$-1$] |– |– |latexmath:[$-2^{L-1}$] |0 //|=== -[TIP] +[NOTE] ==== We considered raising exceptions on integer divide by zero, with these exceptions causing a trap in most execution environments. However, this |