From: Luke Kenneth Casson Leighton Date: Tue, 15 Jun 2021 19:22:50 +0000 (+0100) Subject: whoops forgot import X-Git-Tag: xlen-bcd~449 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b30b31ad4a0268e391dd62a94b72a4dcf6216dc;p=openpower-isa.git whoops forgot import --- 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))