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=de472a817591b700b7ac2dc15ebe431a23327365;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