From: Jacob Lifshay Date: Wed, 17 May 2023 00:16:38 +0000 (-0700) Subject: duplicate overflow comment as requested by luke X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97a67454411b98120da3f10a78bab58d28427623;p=openpower-isa.git duplicate overflow comment as requested by luke https://libre-soc.org/irclog/%23libre-soc.2023-05-16.log.html#t2023-05-16T08:54:24 --- diff --git a/openpower/isa/fpcvt.mdwn b/openpower/isa/fpcvt.mdwn index d25ba9cd..a2939d0b 100644 --- a/openpower/isa/fpcvt.mdwn +++ b/openpower/isa/fpcvt.mdwn @@ -186,7 +186,7 @@ Pseudo-code: result_bfp <- bfp_CONVERT_FROM_SI64(result) default: # Unsigned 64-bit result_bfp <- bfp_CONVERT_FROM_UI64(result) - overflow <- 0 + overflow <- 0 # signals SO only when OE = 1 if IsNaN(src) | ¬bfp_COMPARE_EQ(rnd, result_bfp) then overflow <- 1 # signals SO only when OE = 1 vxcvi_flag <- 1 @@ -300,7 +300,7 @@ Pseudo-code: result_bfp <- bfp_CONVERT_FROM_SI64(result) default: # Unsigned 64-bit result_bfp <- bfp_CONVERT_FROM_UI64(result) - overflow <- 0 + overflow <- 0 # signals SO only when OE = 1 if IsNaN(src) | ¬bfp_COMPARE_EQ(rnd, result_bfp) then overflow <- 1 # signals SO only when OE = 1 vxcvi_flag <- 1