Page MenuHomeFreeBSD

amd64 csu: microoptimize startup
AcceptedPublic

Authored by kib on Mon, Mar 3, 12:02 AM.

Details

Reviewers
jhb
markj
emaste
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 Skipped
Unit
Tests Skipped

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