From: lkcl Date: Wed, 25 May 2022 09:30:59 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~2118 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e54378d4d2c13c6a2cc6259b1e61bfd1ec74168b;p=libreriscv.git --- diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index 1bf264f4a..de0cc7157 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -258,45 +258,30 @@ Mode values: [Rust semantics]: #fp-to-int-rust-conversion-semantics [JavaScript semantics]: #fp-to-int-javascript-conversion-semantics -`fcvttgw RT, FRA, Mode` - -Convert from 64-bit float to 32-bit signed integer, writing the result -to the GPR `RT`. Converts using [mode `Mode`] - -`fcvttguw RT, FRA, Mode` - -Convert from 64-bit float to 32-bit unsigned integer, writing the result -to the GPR `RT`. Converts using [mode `Mode`] - -`fcvttgd RT, FRA, Mode` - -Convert from 64-bit float to 64-bit signed integer, writing the result -to the GPR `RT`. Converts using [mode `Mode`] - -`fcvttgud RT, FRA, Mode` - -Convert from 64-bit float to 64-bit unsigned integer, writing the result -to the GPR `RT`. Converts using [mode `Mode`] - -`fcvtstgw RT, FRA, Mode` - -Convert from 32-bit float to 32-bit signed integer, writing the result -to the GPR `RT`. Converts using [mode `Mode`] - -`fcvtstguw RT, FRA, Mode` - -Convert from 32-bit float to 32-bit unsigned integer, writing the result -to the GPR `RT`. Converts using [mode `Mode`] - -`fcvtstgd RT, FRA, Mode` - -Convert from 32-bit float to 64-bit signed integer, writing the result -to the GPR `RT`. Converts using [mode `Mode`] - -`fcvtstgud RT, FRA, Mode` - -Convert from 32-bit float to 64-bit unsigned integer, writing the result -to the GPR `RT`. Converts using [mode `Mode`] +* `fcvttgw RT, FRA, Mode` + Convert from 64-bit float to 32-bit signed integer, writing the result + to the GPR `RT`. Converts using [mode `Mode`] +* `fcvttguw RT, FRA, Mode` + Convert from 64-bit float to 32-bit unsigned integer, writing the result + to the GPR `RT`. Converts using [mode `Mode`] +* `fcvttgd RT, FRA, Mode` + Convert from 64-bit float to 64-bit signed integer, writing the result + to the GPR `RT`. Converts using [mode `Mode`] +* `fcvttgud RT, FRA, Mode` + Convert from 64-bit float to 64-bit unsigned integer, writing the result + to the GPR `RT`. Converts using [mode `Mode`] +* `fcvtstgw RT, FRA, Mode` + Convert from 32-bit float to 32-bit signed integer, writing the result + to the GPR `RT`. Converts using [mode `Mode`] +* `fcvtstguw RT, FRA, Mode` + Convert from 32-bit float to 32-bit unsigned integer, writing the result + to the GPR `RT`. Converts using [mode `Mode`] +* `fcvtstgd RT, FRA, Mode` + Convert from 32-bit float to 64-bit signed integer, writing the result + to the GPR `RT`. Converts using [mode `Mode`] +* `fcvtstgud RT, FRA, Mode` + Convert from 32-bit float to 64-bit unsigned integer, writing the result + to the GPR `RT`. Converts using [mode `Mode`] [mode `Mode`]: #fpr-to-gpr-conversion-mode @@ -304,37 +289,30 @@ to the GPR `RT`. Converts using [mode `Mode`] All of the following GPR to FPR conversions use the rounding mode from `FPSCR`. -`fcvtfgw FRT, RA` - -Convert from 32-bit signed integer in the GPR `RA` to 64-bit float in `FRT`. - -`fcvtfgws FRT, RA` - -Convert from 32-bit signed integer in the GPR `RA` to 32-bit float in `FRT`. - -`fcvtfguw FRT, RA` - -Convert from 32-bit unsigned integer in the GPR `RA` to 64-bit float in `FRT`. - -`fcvtfguws FRT, RA` - -Convert from 32-bit unsigned integer in the GPR `RA` to 32-bit float in `FRT`. - -`fcvtfgd FRT, RA` - -Convert from 64-bit signed integer in the GPR `RA` to 64-bit float in `FRT`. - -`fcvtfgds FRT, RA` - -Convert from 64-bit signed integer in the GPR `RA` to 32-bit float in `FRT`. - -`fcvtfgud FRT, RA` - -Convert from 64-bit unsigned integer in the GPR `RA` to 64-bit float in `FRT`. - -`fcvtfguds FRT, RA` - -Convert from 64-bit unsigned integer in the GPR `RA` to 32-bit float in `FRT`. +* `fcvtfgw FRT, RA` + Convert from 32-bit signed integer in the GPR `RA` to 64-bit float in + `FRT`. +* `fcvtfgws FRT, RA` + Convert from 32-bit signed integer in the GPR `RA` to 32-bit float in + `FRT`. +* `fcvtfguw FRT, RA` + Convert from 32-bit unsigned integer in the GPR `RA` to 64-bit float in + `FRT`. +* `fcvtfguws FRT, RA` + Convert from 32-bit unsigned integer in the GPR `RA` to 32-bit float in + `FRT`. +* `fcvtfgd FRT, RA` + Convert from 64-bit signed integer in the GPR `RA` to 64-bit float in + `FRT`. +* `fcvtfgds FRT, RA` + Convert from 64-bit signed integer in the GPR `RA` to 32-bit float in + `FRT`. +* `fcvtfgud FRT, RA` + Convert from 64-bit unsigned integer in the GPR `RA` to 64-bit float in + `FRT`. +* `fcvtfguds FRT, RA` + Convert from 64-bit unsigned integer in the GPR `RA` to 32-bit float in + `FRT`. # FP to Integer Conversion Pseudo-code