diff options
Diffstat (limited to 'src/f-st-ext.adoc')
-rw-r--r-- | src/f-st-ext.adoc | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/f-st-ext.adoc b/src/f-st-ext.adoc index 7b3d0e9..7151f2a 100644 --- a/src/f-st-ext.adoc +++ b/src/f-st-ext.adoc @@ -54,7 +54,7 @@ image::image_placeholder.png[] The `fcsr` register can be read and written with the FRCSR and FSCSR instructions, which are assembler pseudoinstructions built on the underlying CSR access instructions. FRCSR reads `fcsr` by copying it -into integer register _rd_. FSCSR swaps the value in ` fcsr` by copying +into integer register _rd_. FSCSR swaps the value in `fcsr` by copying the original value into integer register _rd_, and then writing a new value obtained from integer register _rs1_ into `fcsr`. @@ -98,8 +98,7 @@ particular, with regard to decoding legal vs. reserved encodings). |100 |RMM |Round to Nearest, ties to Max Magnitude |101 | |_Reserved for future use._ |110 | |_Reserved for future use._ -|111 |DYN |In instruction’s _rm_ field, selects dynamic rounding mode; -| | |In Rounding Mode register, _reserved_. +|111 |DYN |In instruction’s _rm_ field, selects dynamic rounding mode; In Rounding Mode register, _reserved_. |=== [NOTE] @@ -218,7 +217,7 @@ address is naturally aligned. FLW and FSW do not modify the bits being transferred; in particular, the payloads of non-canonical NaNs are preserved. -As described in <<sp-ldst>>, the execution +As described in <<ldst>>, the execution environment defines whether misaligned floating-point loads and stores are handled invisibly or raise a contained or fatal trap. @@ -390,7 +389,7 @@ All floating-point conversion instructions set the Inexact exception flag if the rounded result differs from the operand value and the Invalid exception flag is not set. -include::images/wavedrom/spfloat.adoc[] +include::images/wavedrom/spfloat-cn-cmp.adoc[] [[fcvt]] .SP float convert and move image::image_placeholder.png[] @@ -408,11 +407,6 @@ pseudoinstruction FNEG.S _rx, ry_); and FSGNJX.S _rx, ry, ry_ moves the absolute value of _ry_ to _rx_ (assembler pseudoinstruction FABS.S _rx, ry_). -include::images/wavedrom/spfloat-cn-cmp.adoc[] -[[spfloat-cn-cmp]] -.SP floating point convert and compare -image::image_placeholder.png[] - [NOTE] ==== The sign-injection instructions provide floating-point MV, ABS, and NEG, |