mark RN as TODO
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 17 May 2021 13:15:01 +0000 (14:15 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 17 May 2021 13:15:01 +0000 (14:15 +0100)
openpower/isafunctions/fpfromint.mdwn

index 208a2940cd646992e7b6c67929a4f11d3c4f2a9a..a72669b82fc6b89ac28c736cc13e51aff792dfaf 100644 (file)
@@ -84,7 +84,8 @@ Convert From Integer instructions.
                 frac[0:63] <- frac[1:63] || 0b0
                 exp <- exp - 1
             # round to nearest
-            Round_Float( tgt_precision, sign, exp, frac, 0b00 )
+            RN = 0b00 # TODO, FPSCR[RN]
+            Round_Float( tgt_precision, sign, exp, frac, RN )
             # TODO, FPSCR
             #if sign = 0 then FPSCR[FPRF] <- '+normal number'
             #if sign = 1 then FPSCR[FPRF] <- '-normal number'