[libre-riscv-dev] [Bug 173] dynamic partitioned "shift"

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Wed Feb 12 19:20:59 GMT 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=173

--- Comment #9 from Michael Nolan <mtnolan2640 at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #6)
> wait... no... yes, it looks like you've already done that (to some extent),
> at least limited the range of the matrix partial-results.
> 
> however what's missing is the truncation of B to match the length of the
> output:
> or something like that.  there's almost certainly at least two off-by-one
> bugs in that :)

This didn't seem to make too much of a difference. Before: 
   Number of cells:               8608
After:
   Number of cells:               8523

I also eliminated unused entries from the shift matrix which did have some
effect:
   Number of cells:               8047

I suspect there's a better way of calculating what matrix entry is needed than
my giant-ass switch statement may help, it seems to be selecting the row
corresponding to the last set bit of the gates.

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


More information about the libre-riscv-dev mailing list