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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Jan 12 07:12:07 GMT 2021


--- Comment #50 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #49)
> (In reply to Jacob Lifshay from comment #48)
> > This would require compiling code that uses SV in C++ mode, which shouldn't
> > be that difficult to achieve.
> ... it has some subtle implications.

> c code compiled with g++ fails when -1
> is placed into a uint, rather than just going, "oh you must have meant
> 0xffffffff i'll just take care of that for you".

That's not correct:

> have to ask Lauri if he's ok with it.

hope so, since it shouldn't be that hard to use... also, reading the source to
see exactly which instructions are generated and/or adding new ones should be
very easy compared to having to read through gcc's internals.

> i can see it still being valuable though.


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

More information about the libre-soc-bugs mailing list