[Libre-soc-bugs] [Bug 755] add grev instruction (OP_GREV)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Feb 13 17:54:19 GMT 2022


https://bugs.libre-soc.org/show_bug.cgi?id=755

--- Comment #30 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
or:

    grevtern(RT, RA, steps, swaplut2[0..3])

    with m.If(self.chunk_sizes[i]):
        for j in range(self.width):
            m.d.comb += step_o[j].eq(lut2(step_i[j], step_i[j ^ chunk_size],
                                     swaplut2)
    with m.Else():
            m.d.comb += step_o.eq((step_i)

which reduces the number of options to sane.  provides 16 instructions in one.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list