HomeFreeBSD

riscv locore.S: load constant prior to loop

Description

riscv locore.S: load constant prior to loop

A very minor micro-optimization; t0 is not clobbered between the loop top and
bottom and there appear to be no other branches to this label.

Submitted by: Nathaniel Filardo <nwf20@cl.cam.ac.uk>
Reviewed by: mhorne
Differential Revision: https://reviews.freebsd.org/D25524

Details

Provenance
kpAuthored on
Reviewer
mhorne
Differential Revision
D25524: riscv locore.S: load constant prior to loop
Parents
rS362851: riscv: Log missing registers in dump_regs()
Branches
Unknown
Tags
Unknown