HomeFreeBSD

x86: microoptimize static PIE startup

Description

x86: microoptimize static PIE startup

Do not call CPUID on each ireloc, instead call it once and cache
results, similar to how it is done on powerpc64.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks
Differential revision: https://reviews.freebsd.org/D37220

Details

Provenance
kibAuthored on Nov 1 2022, 1:42 AM
Reviewer
markj
Differential Revision
D37220: csu: move common code to libc
Parents
rG51015e6d0f57: csu: move common code to libc
Branches
Unknown
Tags
Unknown