From: Luke Kenneth Casson Leighton Date: Mon, 17 May 2021 13:15:01 +0000 (+0100) Subject: mark RN as TODO X-Git-Tag: xlen-bcd~605 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5be8f06a054d1ca5ec3d8e9cdeb1176a10f7539;p=openpower-isa.git mark RN as TODO --- diff --git a/openpower/isafunctions/fpfromint.mdwn b/openpower/isafunctions/fpfromint.mdwn index 208a2940..a72669b8 100644 --- a/openpower/isafunctions/fpfromint.mdwn +++ b/openpower/isafunctions/fpfromint.mdwn @@ -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'