]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
riscv locore.S: load constant prior to loop
authorKristof Provost <kp@FreeBSD.org>
Wed, 1 Jul 2020 19:12:47 +0000 (19:12 +0000)
committerKristof Provost <kp@FreeBSD.org>
Wed, 1 Jul 2020 19:12:47 +0000 (19:12 +0000)
commit6f11e59d72630bc1a48c77a772a5f8463eb2c254
tree1a27868aa154fda584437cfa42bd0eac386fbce1
parentd53a2816c7a08c53c7631308bd3ff114bd4616f4
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
sys/riscv/riscv/locore.S