From f333dd8f9d681a84e6ed07b98c7ed072d7c6f023 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 15 Jun 2021 20:21:58 +0100 Subject: [PATCH] whoops still using DOUBLE(SINGLE(x)) rather than DOUBLE2SINGLE --- src/openpower/decoder/helpers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/openpower/decoder/helpers.py b/src/openpower/decoder/helpers.py index 5440217f..1e6c1d10 100644 --- a/src/openpower/decoder/helpers.py +++ b/src/openpower/decoder/helpers.py @@ -258,7 +258,7 @@ def FPADD32(FRA, FRB): #FRB = DOUBLE(SINGLE(FRB)) result = float(FRA) + float(FRB) cvt = fp64toselectable(result) - cvt = DOUBLE(SINGLE(cvt)) + cvt = DOUBLE2SINGLE(cvt) log ("FPADD32", FRA, FRB, result, cvt) return cvt @@ -269,7 +269,7 @@ def FPSUB32(FRA, FRB): #FRB = DOUBLE(SINGLE(FRB)) result = float(FRA) - float(FRB) cvt = fp64toselectable(result) - cvt = DOUBLE(SINGLE(cvt)) + cvt = DOUBLE2SINGLE(cvt) log ("FPSUB32", FRA, FRB, result, cvt) return cvt @@ -313,7 +313,7 @@ def FPDIV32(FRA, FRB): #FRB = DOUBLE(SINGLE(FRB)) result = float(FRA) / float(FRB) cvt = fp64toselectable(result) - cvt = DOUBLE(SINGLE(cvt)) + cvt = DOUBLE2SINGLE(cvt) log ("FPDIV32", FRA, FRB, result, cvt) return cvt -- 2.30.2