[Libre-soc-bugs] [Bug 982] Support PowerPC ABI in ISACaller

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Oct 20 22:46:49 BST 2023


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

--- Comment #112 from Dmitry Selyutin <ghostmansd at gmail.com> ---
OK, considering that PC is incremented twice, why have CHEAT at all?


def call(self, name):
    # snip header

    scemu = (asmop in ("sc", "scv") and self.syscall is not None)
    if scemu:
        identifier = self.gpr(0)
        arguments = map(self.gpr, range(3, 9))
        result = self.syscall(identifier, *arguments)
        self.gpr.write(3, result, False, self.namespace["XLEN"])

    # snip middle

    # footer
    if scemu:
        self.call("rfid")

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


More information about the libre-soc-bugs mailing list