[Libre-soc-bugs] [Bug 745] OP_TERNLOG instruction
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Sat Dec 11 15:13:55 GMT 2021
https://bugs.libre-soc.org/show_bug.cgi?id=745
--- Comment #39 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
commit 8abcd7b74c5416c8a5348efc467854ad3080f12f (HEAD -> master)
Author: Luke Kenneth Casson Leighton <lkcl at lkcl.net>
Date: Sat Dec 11 15:13:15 2021 +0000
use concat in ternlogi to reduce code size
works.
result <- [0] * XLEN
- idx <- [0] * 3
do i = 0 to XLEN - 1
- idx[0] <- (RT)[i]
- idx[1] <- (RA)[i]
- idx[2] <- (RB)[i]
+ idx <- (RT)[i] || (RA)[i] || (RB)[i]
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list