grr syntax incorrect, use <- operator not =
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 17 May 2021 15:05:07 +0000 (16:05 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 17 May 2021 15:05:07 +0000 (16:05 +0100)
openpower/isafunctions/fpfromint.mdwn

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