whoops forgot import
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 15 Jun 2021 19:22:50 +0000 (20:22 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 15 Jun 2021 19:22:50 +0000 (20:22 +0100)
src/openpower/decoder/helpers.py

index 1e6c1d1043f84815edb9a932ed5e92cd68bde0b9..faef2d9a3481dc23bad4ebf732469ac45a4bcfaa 100644 (file)
@@ -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))