[Libre-soc-isa] [Bug 937] instructions for bigint shift and prefix-code encode
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Sep 28 21:02:20 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=937
--- Comment #8 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #7)
> def dshl(a, b, n):
> mask = (1 << (64 - n % 64)) - 1
> v = (a & mask) | (b & ~mask)
> return rotl64(v, n)
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=0a43abe68960962f419b68d0357ad4b4274a9b74
muxes for selecting sources is next
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libre-SOC-ISA
mailing list