svn commit: r337754 - head/sys/x86/x86
Andriy Gapon
avg at FreeBSD.org
Tue Aug 14 15:34:45 UTC 2018
On 14/08/2018 17:02, Mark Johnston wrote:
> At some point memcpy() may be an ifunc, ifunc resolution cannot be done
> until CPU identification has been performed, and CPU identification must
> be done after loading any microcode updates.
Wouldn't it be cool if before an ifunc is resolved (to a proper
optimized version) it pointed to a default implementation that is
sufficiently naive and robust that it can work on all CPUs?
But I don't know much about ifunc implementation, so no idea if it can
work like that.
--
Andriy Gapon
More information about the svn-src-head
mailing list