[Libre-soc-isa] [Bug 817] Big Integer Math (sv.adde, sv.subfe, sv.madded, 128 by 64-bit -> 64-bit div/rem, maybe more...)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Apr 24 04:14:50 BST 2022


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

--- Comment #10 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
 245     io_width: int
 246     """bit-width of the input divisor and the result.
 247     the input numerator is `2 * io_width`-bits wide.
 248     """

remember to either split these by newline, or:

* shorten the parameter (abbrev wds: wid not width)
* use a semicolon
* use single-quotes (""" is not a hard requirement)
* remove the unnecessary type information
* use less words ("the" is the first casualty)

the priority is to get these below 80 chars and to get them compact.
extra words *do not* increase clarity (just as ironically not *enough* causes
ambiguity)

 example:

    io_wid; "input and result bit-width. numerator is 2xio_wid"

it's a tricky balance.

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


More information about the Libre-SOC-ISA mailing list