[Libre-soc-bugs] [Bug 980] Implement C-based Power ISA pseudocode compiler

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Dec 8 17:45:43 GMT 2023


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

--- Comment #33 from Dmitry Selyutin <ghostmansd at gmail.com> ---
# Subtract From

XO-form

* subf RT,RA,RB (OE=0 Rc=0)
* subf. RT,RA,RB (OE=0 Rc=1)
* subfo RT,RA,RB (OE=1 Rc=0)
* subfo. RT,RA,RB (OE=1 Rc=1)

Pseudo-code:

    RT <- ((¬(RA) + RB) + 1)

Special Registers Altered:

    CR0 (if Rc=1)
    SO OV OV32 (if OE=1)

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


More information about the libre-soc-bugs mailing list