From: Luke Kenneth Casson Leighton Date: Sat, 31 Jul 2021 18:48:46 +0000 (+0100) Subject: replace DOUBLE function from helpers.py with pseudocode variant X-Git-Tag: xlen-bcd~167 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fae1ac20baefa05c1f1aac00fa7f0e88d68242c;p=openpower-isa.git replace DOUBLE function from helpers.py with pseudocode variant --- diff --git a/openpower/isafunctions/double2single.mdwn b/openpower/isafunctions/double2single.mdwn index 28e48e29..b731cc04 100644 --- a/openpower/isafunctions/double2single.mdwn +++ b/openpower/isafunctions/double2single.mdwn @@ -141,10 +141,11 @@ Round to Single-Precision instruction. - def SINGLE(WORD): + def DOUBLE(WORD): exp <- [0] * 11 frac <- [0] * 53 sign <- 0b0 + FRT <- [0] * 64 # Normalized Operand if (WORD[1:8] >u 0) & (WORD[1:8]