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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Jan 11 22:00:18 GMT 2021


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

--- Comment #40 from Jacob Lifshay <programmerjake at gmail.com> ---
I think that CRs should be handled entirely by the gcc backend, they will have
mask values allocated to them automatically. In the gcc frontend, masks are
just bitvectors (basically a uint64_t with a different type).

masks are generated by using compare intrinsics and by using bit-wise logic ops
on masks. masks can be cast to/from integers.

the cr logic ops and the cr from int and cr to int ops are generated
automatically by the instruction selector and by the register allocator.

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


More information about the libre-soc-bugs mailing list