From 83441cb0528ccc33e462c38fa05b9c8a5f34b17a Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 26 May 2022 10:42:04 +0100 Subject: [PATCH] --- openpower/sv/int_fp_mv.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index 4d21a5752..55cb67bec 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -368,6 +368,16 @@ This instruction is present in ARM assembler as FJCVTZS |--------|------|--------|-------|-------|----|------| | Major | RT | //Mode | FRA | XO | Rc |X-Form| +**Rc=1 and OE=1** + +All of these insructions have an Rc=1 mode which sets CR0 +in the normal way for any instructions producing a GPR result. +Additionally, when OE=1, if the numerical value of the FP number +is not 100% accurately preserved (due to truncation or saturation +and including when the FP number was NaN) then this is considered +to be an integer Overflow condition, and CR0.SO, XER.SO and XER.OV +are all set as normal for any GPR instructions that overflow. + **Instructions** * `fcvttgw RT, FRA, Mode` -- 2.30.2