[Libre-soc-bugs] [Bug 558] gcc SV intrinsics concept

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Dec 30 20:48:48 GMT 2020


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

--- Comment #25 from Alexandre Oliva <oliva at libre-soc.org> ---
ok, good, set from register was one of the pieces that seemed to be missing to
me.  

how about some means to copy vl to a register?


hmm...  passing vectors in registers, now that's something I hadn't yet thought
of.  it makes sense, though it's a little uncommon to have very wide types
passed in (lots of) registers, let alone with a VL on the side.


as for exceptions...  though they're exceptional indeed, several languages use
them for a lot more than just termination.  well-structured error handling and
recovery could still benefit from preservation of state.

though the more I think about it, the more convinced I am that the caller is in
a better position to tell whether vl needs saving, and how to restore it after
a call if needed, whether in the regular or the exceptional exit paths.

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


More information about the libre-soc-bugs mailing list