[Libre-soc-bugs] [Bug 716] PartitionedSignal Slice and Part needed for __getitem__

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Oct 21 12:11:47 BST 2021


--- Comment #15 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
carrying over from 

Slice is straightforward to do because it is fixed consts.
*please do not use SimdSwizzle* it is too massive a jump
and throws away far too much code.

once Slice is done Part is (error checking aside) literally
1 line of code, using existing Simd shift operator and using
straight slices:

    return (self >> offset)[:width]

that's it.  incredibly simple.

yes agreed under no circumstances do we go anywhere near LHS Part
right now.

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

More information about the libre-soc-bugs mailing list