From 805715d0be4160d31d26d4f8228427a9d120db89 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 18 May 2023 23:36:15 -0700 Subject: [PATCH] fix: bfp_ROUND_TO_BFP64 takes 3 arguments --- openpower/isa/fpcvt.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2