[Libre-soc-bugs] [Bug 899] implement additional Transcendentals in simulator

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Sep 15 00:13:50 BST 2022


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

--- Comment #30 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Jacob, the most important thing is to check whether all of these are X form
with Rc support. Examples are below.

#define OP(x) ((((uint64_t)(x)) & 0x3f) << 26)
#define X(op, xop) (OP (op) | ((((uint64_t)(xop)) & 0x3ff) << 1))
#define XRC(op, xop, rc) (X ((op), (xop)) | ((rc) & 1))
#define X_MASK XRC (0x3f, 0x3ff, 1)

{"fpowns",      XRC(59,876,0),  X_MASK, SVP64,  PPCVLE, {FRT, FRA, RB}}
{"fminmagnum19",        XRC(63,910,0),  X_MASK, SVP64,  PPCVLE, {FRT, FRA,
FRB}},
{"flog10.",     XRC(63,973,1),  X_MASK, SVP64,  PPCVLE, {FRT, FRB}},

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


More information about the libre-soc-bugs mailing list