You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaced all latexmath calls with built-in AsciiDoc substitutes. Done to make normative rule extraction provide better results (i.e., rules without images, just normal characters). (#2411)
Copy file name to clipboardExpand all lines: src/f-st-ext.adoc
+32-34Lines changed: 32 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,8 +127,8 @@ particular, with regard to decoding legal vs. reserved encodings).
127
127
|Rounding Mode |Mnemonic |Meaning
128
128
|000 |RNE |Round to Nearest, ties to Even
129
129
|001 |RTZ |Round towards Zero
130
-
|010 |RDN |Round Down (towards latexmath:[$-\infty$])
131
-
|011 |RUP |Round Up (towards latexmath:[$+\infty$])
130
+
|010 |RDN |Round Down (towards −{inf})
131
+
|011 |RUP |Round Up (towards +{inf})
132
132
|100 |RMM |Round to Nearest, ties to Max Magnitude
133
133
|101 | |_Reserved for future use._
134
134
|110 | |_Reserved for future use._
@@ -270,8 +270,8 @@ rounding mode using the _rm_ field with the encoding shown in
270
270
<<rm>>.
271
271
272
272
Floating-point minimum-number and maximum-number instructions FMIN.S and FMAX.S write, respectively, the smaller or larger of _rs1_ and _rs2_ to _rd_. For the purposes of these instructions only, the value
273
-
latexmath:[$-0.0$] is considered to be less than the value
274
-
latexmath:[$+0.0$]. If both inputs are NaNs, the result is the canonical NaN. If only one operand is a NaN, the result is the non-NaN operand.
273
+
−0.0 is considered to be less than the value
274
+
+0.0. If both inputs are NaNs, the result is the canonical NaN. If only one operand is a NaN, the result is the non-NaN operand.
275
275
Signaling NaN inputs set the invalid operation exception flag, even when the result is not NaN.
FNMSUB.S multiplies the values in _rs1_ and _rs2_, negates the product, adds the value in _rs3_, and writes the final result to _rd_. FNMSUB.S computes _-(rs1latexmath:[$\times$]rs2)latexmath:[$\+$]rs3_.
301
+
FNMSUB.S multiplies the values in _rs1_ and _rs2_, negates the product, adds the value in _rs3_, and writes the final result to _rd_. FNMSUB.S computes _−(rs1×rs2)+rs3_.
302
302
303
-
FNMADD.S multiplies the values in _rs1_ and _rs2_, negates the product, subtracts the value in _rs3_, and writes the final result to _rd_. FNMADD.S computes _-(rs1latexmath:[$\times$]rs2)latexmath:[$\-$]rs3_.
303
+
FNMADD.S multiplies the values in _rs1_ and _rs2_, negates the product, subtracts the value in _rs3_, and writes the final result to _rd_. FNMADD.S computes _−(rs1×rs2)−rs3_.
304
304
305
305
[NOTE]
306
306
====
@@ -331,12 +331,12 @@ would require additional move instructions in some common sequences. The current
331
331
====
332
332
333
333
The fused multiply-add instructions must set the invalid operation
334
-
exception flag when the multiplicands are latexmath:[$\infty$] and zero, even when the addend is a quiet NaN.
334
+
exception flag when the multiplicands are {inf} and zero, even when the addend is a quiet NaN.
335
335
336
336
[NOTE]
337
337
====
338
338
The IEEE 754-2008 standard permits, but does not require, raising the
339
-
invalid exception for the operation latexmath:[$\infty\times 0\ +$]qNaN.
339
+
invalid exception for the operation {inf}×0 + qNaN.
340
340
====
341
341
342
342
=== Single-Precision Floating-Point Conversion and Move Instructions
@@ -349,7 +349,7 @@ register _rd_. FCVT.S.W or FCVT.S.L converts a 32-bit or 64-bit signed
349
349
integer, respectively, in integer register _rs1_ into a floating-point
350
350
number in floating-point register _rd_. FCVT.WU.S, FCVT.LU.S, FCVT.S.WU,
351
351
and FCVT.S.LU variants convert to or from unsigned integer values. For
352
-
XLENlatexmath:[$>32$], FCVT.W[U].S sign-extends the 32-bit result to the
352
+
XLEN>32, FCVT.W[U].S sign-extends the 32-bit result to the
353
353
destination register width. FCVT.L[U].S and FCVT.S.L[U] are RV64-only
354
354
instructions. If the rounded result is not representable in the
355
355
destination format, it is clipped to the nearest value and the invalid
@@ -367,23 +367,23 @@ FCVT.S.W _rd_, `x0`, which will never set any exception flags.
0 commit comments