From 5b30b31ad4a0268e391dd62a94b72a4dcf6216dc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 15 Jun 2021 20:22:50 +0100 Subject: [PATCH] whoops forgot import --- src/openpower/decoder/helpers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openpower/decoder/helpers.py b/src/openpower/decoder/helpers.py index 1e6c1d10..faef2d9a 100644 --- a/src/openpower/decoder/helpers.py +++ b/src/openpower/decoder/helpers.py @@ -253,6 +253,7 @@ def fp64toselectable(frt): def FPADD32(FRA, FRB): + from openpower.decoder.isafunctions.double2single import DOUBLE2SINGLE #return FPADD64(FRA, FRB) #FRA = DOUBLE(SINGLE(FRA)) #FRB = DOUBLE(SINGLE(FRB)) @@ -264,6 +265,7 @@ def FPADD32(FRA, FRB): def FPSUB32(FRA, FRB): + from openpower.decoder.isafunctions.double2single import DOUBLE2SINGLE #return FPSUB64(FRA, FRB) #FRA = DOUBLE(SINGLE(FRA)) #FRB = DOUBLE(SINGLE(FRB)) @@ -308,6 +310,7 @@ def FPMULADD32(FRA, FRB, FRC, sign): def FPDIV32(FRA, FRB): + from openpower.decoder.isafunctions.double2single import DOUBLE2SINGLE #return FPDIV64(FRA, FRB) #FRA = DOUBLE(SINGLE(FRA)) #FRB = DOUBLE(SINGLE(FRB)) -- 2.30.2