From: Jacob Lifshay Date: Fri, 19 May 2023 06:36:15 +0000 (-0700) Subject: fix: bfp_ROUND_TO_BFP64 takes 3 arguments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=805715d0be4160d31d26d4f8228427a9d120db89;p=openpower-isa.git fix: bfp_ROUND_TO_BFP64 takes 3 arguments --- diff --git a/openpower/isa/fpcvt.mdwn b/openpower/isa/fpcvt.mdwn index d14dec91..2afeebca 100644 --- a/openpower/isa/fpcvt.mdwn +++ b/openpower/isa/fpcvt.mdwn @@ -48,7 +48,7 @@ Pseudo-code: src <- bfp_CONVERT_FROM_SI64((RB)) default: # Unsigned 64-bit src <- bfp_CONVERT_FROM_UI64((RB)) - rnd <- bfp_ROUND_TO_BFP64(FPSCR.RN, src) + rnd <- bfp_ROUND_TO_BFP64(0b0, FPSCR.RN, src) result <- bfp64_CONVERT_FROM_BFP(rnd) cls <- fprf_CLASS_BFP64(result) if xx_flag = 1 then SetFX(FPSCR.XX)