[Libre-soc-bugs] [Bug 1177] revert unauthorized change to pseudocode language

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Nov 1 11:54:32 GMT 2023


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

--- Comment #9 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
class fixedarith:
    @inject()
    def op_addi(self, RA):
        RT = GPR.getz(_RA) + self.EXTS(SI)
        return (RT,)

ok. it can be done by setting all "ok" flags in all inputs
to FALSE, followed by modifying SelectableInt to set
data.ok=True in its constructor and in all math operations.

https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/selectable_int.py;hb=HEAD

it can go into merge and eq.

FieldSelectableInt is not necessary as we never return FSI from
any operations. but worth keeping an eye on.

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


More information about the libre-soc-bugs mailing list