[Libre-soc-isa] [Bug 562] make elwidth's encoding more intuitive

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Dec 30 19:47:52 GMT 2020


https://bugs.libre-soc.org/show_bug.cgi?id=562

--- Comment #1 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
00      DEFAULT         default behaviour for operation
01      ELWIDTH=w       Word: 32-bit integer 
10      ELWIDTH=h       Halfword: 16-bit integer
11      ELWIDTH=b       Byte: 8-bit integer

interestingly it's w and b that swap.  yep like it.

> for floating-point encodings, if we wish 64-bit to be the default, but also
> support 128 bits instead of either f16/bf16, we could still do this, having
> the shift amount be a signed 2-bit number ;-)

urrr :)

can you write it out?  (remember bf16 is fly in the ointment)

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


More information about the Libre-SOC-ISA mailing list