From 2fae1ac20baefa05c1f1aac00fa7f0e88d68242c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 31 Jul 2021 19:48:46 +0100 Subject: [PATCH] replace DOUBLE function from helpers.py with pseudocode variant --- openpower/isafunctions/double2single.mdwn | 4 +++- src/openpower/decoder/pseudo/pywriter.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) 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]