Page MenuHomeFreeBSD

amd64 csu: microoptimize startup
ClosedPublic

Authored by kib on Mon, Mar 3, 12:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 6, 2:01 AM
Unknown Object (File)
Thu, Mar 6, 1:04 AM
Unknown Object (File)
Wed, Mar 5, 5:36 PM
Unknown Object (File)
Wed, Mar 5, 3:08 PM
Unknown Object (File)
Wed, Mar 5, 3:00 PM
Unknown Object (File)
Wed, Mar 5, 1:30 PM
Unknown Object (File)
Wed, Mar 5, 12:17 PM
Unknown Object (File)
Wed, Mar 5, 4:08 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Mon, Mar 3, 12:02 AM

Correct the offset of env.

lib/csu/amd64/crt1_s.S
53

What is *apl?

55

Shouldn't the comment say + 2?

kib marked 2 inline comments as done.

Fix typos in comments.

This revision is now accepted and ready to land.Mon, Mar 3, 11:22 AM
This revision was automatically updated to reflect the committed changes.