Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 18:34:34 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Mark Johnston <markj@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r337754 - head/sys/x86/x86
Message-ID:  <afb7b9a8-19d8-e763-e3ed-c12e2f7094d6@FreeBSD.org>
In-Reply-To: <201808141402.w7EE2seW007725@repo.freebsd.org>
References:  <201808141402.w7EE2seW007725@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afb7b9a8-19d8-e763-e3ed-c12e2f7094d6>