From e54378d4d2c13c6a2cc6259b1e61bfd1ec74168b Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 25 May 2022 10:30:59 +0100 Subject: [PATCH] --- openpower/sv/int_fp_mv.mdwn | 118 +++++++++++++++--------------------- 1 file changed, 48 insertions(+), 70 deletions(-) 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 -- 2.30.2