fix: bfp_ROUND_TO_BFP64 takes 3 arguments
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 19 May 2023 06:37:28 +0000 (23:37 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Fri, 19 May 2023 06:37:28 +0000 (23:37 -0700)
openpower/sv/int_fp_mv/moves_and_conversions.mdwn

index f0207cc57d7397946545319cf0d3b96d0d93c532..a9c7efaa5be89393de1361776935cbf454863de8 100644 (file)
@@ -201,7 +201,7 @@ as exceptions.
                 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)