from soc.decoder.isa.caller import inject, instruction_info
from soc.decoder.helpers import (EXTS, EXTS64, EXTZ64, ROTL64, ROTL32, MASK,
- ne, eq, gt, ge, lt, le, length,
- trunc_div, trunc_rem)
+ ne, eq, gt, ge, lt, le, ltu, gtu, length,
+ trunc_divs, trunc_rems, MULS, DIVS, MODS)
from soc.decoder.selectable_int import SelectableInt
from soc.decoder.selectable_int import selectconcat as concat
from soc.decoder.orderedset import OrderedSet
fname = os.path.join(isadir, "all.py")
with open(fname, "w") as f:
+ f.write('# auto-generated by pywriter.py: do not edit or commit\n')
f.write('from soc.decoder.isa.caller import ISACaller\n')
for page in self.pages_written:
f.write('from soc.decoder.isa.%s import %s\n' % (page, page))