[libre-riscv-dev] [Bug 269] auto-conversion / parser of POWER ISA Spec v3.0B

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Fri Apr 3 21:55:21 BST 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=269

--- Comment #12 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://stackoverflow.com/questions/17862185/how-to-inject-variable-into-scope-with-a-decorator

nope.  epic fail.

suddenly realised, it's real simple:

def cmpi(RA, RB): # pass in regs as parameters
    code
    blah
    return (RS,) # return modified params as results.

duh.

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


More information about the libre-riscv-dev mailing list