fpheader = """
from openpower.decoder.helpers import (
SINGLE,
- FPADD32, FPSUB32, FPMUL32, FPDIV32,
+ #FPADD32, FPSUB32, FPMUL32, FPDIV32,
FPADD64, FPSUB64, FPMUL64, FPDIV64,
- FPMULADD32,
- FPSIN32, FPCOS32,
+ #FPMULADD32,
+ #FPSIN32, FPCOS32,
)
"""
f.write('# auto-generated by pywriter.py: do not edit or commit\n')
f.write('from openpower.decoder.isa.caller import ISACaller\n')
f.write('from openpower.decoder.helpers import ISACallerHelper\n')
+ f.write('from openpower.decoder.isafunctions.all '
+ 'import ISACallerFnHelper\n')
for page in self.pages_written:
f.write('from openpower.decoder.isa.%s ' \
'import %s\n' % (page, page))
f.write('\n')
- classes = ', '.join(['ISACaller', 'ISACallerHelper'] + self.pages_written)
+ classes = ', '.join(['ISACaller', 'ISACallerFnHelper',
+ 'ISACallerHelper'] + self.pages_written)
f.write('class ISA(%s):\n' % classes)
f.write(' def __init__(self, *args, **kwargs):\n')
f.write(' super().__init__(*args, **kwargs)\n')