* [libre-riscv-dev] style / commit messages
@ 2020-04-17 16:38 Luke Kenneth Casson Leighton
0 siblings, 0 replies; only message in thread
From: Luke Kenneth Casson Leighton @ 2020-04-17 16:38 UTC (permalink / raw)
To: Tobias Platen, Tobias Platen, Libre-RISCV General Development
hi tobias, regarding this commit:
commit f17100d6c435aec47b17acb188272a7e9b3cf67d
Author: Tobias Platen <tplaten@posteo.de>
Date: Fri Apr 17 16:06:25 2020 +0000
add with carry instructions
* the addition of the MUL feature needed to be under a separate commit.
(multiplication doesn't have anything to do with "add with carry instructions")
you'll have to watch out for this in future.
* whitespace was added at the end: this you particularly have to watch out for
with vi. it's why it's specifically in the HDL_workflow.
please therefore can you correct that one.
* spaces and brackets: please try to keep to PEP8 as much as you can
the brackets are redundant in this case (unnecessary) and it's definitely a
style irritation not to have a space between the if and the test.
+ if(cry_out==1):
+ if(result > 0xFFFFFFFF):
please can you correct those.
* if adding some functionality it's critically important to also add a
corresponding
unit test, of at least some basic functionality.
this because if you don't, someone else will have to. the worst outcome is if
you add the functionality and someone *assumes* that a unit test has been
added for it.
i'll assign a bugreport to you to make the necessary corrections.
l.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] only message in thread
only message in thread, back to index
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 16:38 [libre-riscv-dev] style / commit messages Luke Kenneth Casson Leighton
Libre RISC-V Mailing list Archives (accessible via public-inbox)
Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev
Example config snippet for mirrors
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git