locore.S - two cosmetic changes

Antonin Houska ah at melesmeles.cz
Mon Oct 26 05:21:29 UTC 2020


Hello,

while trying to understand the code, I've spotted two things that might need
to be improved - please see the attachments.

remove_useless_assignment.patch removes setting of register value which is not
used until the next value is set. use_constant_not_literal.patch probably
needs no explanation.

-- 
Antonín Houska
www.melesmeles.cz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_useless_assignment.patch
Type: text/x-diff
Size: 407 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-riscv/attachments/20201026/1237e06f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use_constant_not_literal.patch
Type: text/x-diff
Size: 450 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-riscv/attachments/20201026/1237e06f/attachment-0001.patch>


More information about the freebsd-riscv mailing list