[Libre-soc-isa] [Bug 533] design new CR instructions suitable for predication

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Dec 8 19:17:22 GMT 2020


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

--- Comment #9 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
i'm also wondering:

src1 ← VSR[VRA+32]
src2 ← VSR[VRB+32]
mask ← VSR[VRC+32]
VSR[VRT+32] ← (src1 & ~mask) | (src2 & mask)

is there a way that, hypothetically, the new CR operations could be leveraged
to achieve that style of mask operation (on integers) but using less bits in
instructions to specify the required src regs?

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


More information about the Libre-SOC-ISA mailing list