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

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Fri Feb 14 18:18:17 GMT 2020


--- Comment #28 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Michael Nolan from comment #27)
> (In reply to Luke Kenneth Casson Leighton from comment #26)
> > ah rats, you took out the "truncation" that i put on B.
> > ah well - that can (has to) go back in, btw, however with
> > the Switch statement removed that's well on the way
> Yes, wanted to get it working without worrying about truncation complicating
> things. Working on adding it back in now though

exccellent.  remember, it's *sigh* not as straightforward as truncating
(bit-wise)... well, you saw what i had in the original, with the comparators.

a *bit-wise* truncation also needs to be *shudder* based on the partition

i think we can safely round-up 24-bit and other non-power-of-two partition
sizes, on the assumption that anyone trying to use this code for that purpose
is a bit... unhinged :)

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

More information about the libre-riscv-dev mailing list