-----Original Message-----
From: <[email protected]> on behalf of Andriy Gapon 
<[email protected]>
Date: 2018-08-14, Tuesday at 08:34
To: Mark Johnston <[email protected]>, <[email protected]>, 
<[email protected]>, <[email protected]>
Subject: Re: svn commit: r337754 - head/sys/x86/x86

> 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.

Or, if that can't be done, have a pre_ifunc_memcpy() with the default 
implementation, which is explicitly for use before ifuncs are set up.

-Ravi

> -- 
> Andriy Gapon


_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to