add a DIVS function as separate and discrete from floor_div
[soc.git] / src / soc / decoder / pseudo / pywriter.py
index 61d6860d4be127740f33cf5ed44ac27fd7695827..f06d996f388399bb8cd078107bc967f394788bbb 100644 (file)
@@ -21,7 +21,7 @@ header = """\
 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, ltu, gtu, length,
-                                 trunc_div, trunc_rem)
+                                 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