HomeFreeBSD

amd64 csu: microoptimize startup

Description

amd64 csu: microoptimize startup

Reorder operations to reduce moving the values among registers.
Use the LEA instruction to combine arithmetic with the moves.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D49206

Details

Provenance
kibAuthored on Sun, Mar 2, 11:54 PM
Reviewer
markj
Differential Revision
D49206: amd64 csu: microoptimize startup
Parents
rGe7c0cb720898: loader: dosfs should be able to work with different sector sizes
Branches
Unknown
Tags
Unknown