Date: Fri, 4 May 2018 09:14:15 -0700 From: Conrad Meyer <cem@freebsd.org> To: Brooks Davis <brooks@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys Message-ID: <CAG6CVpUr_2b-yT1-uExcY1Tvpg=-P3y_owNHQ0UPg604to8Y0Q@mail.gmail.com> In-Reply-To: <20180504155301.GA56280@spindle.one-eyed-alien.net> References: <201805040400.w4440moH025057@repo.freebsd.org> <20180504155301.GA56280@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 4, 2018 at 8:53 AM, Brooks Davis <brooks@freebsd.org> wrote: > On Fri, May 04, 2018 at 04:00:48AM +0000, Mateusz Guzik wrote: >> Author: mjg >> Date: Fri May 4 04:00:48 2018 >> New Revision: 333240 >> URL: https://svnweb.freebsd.org/changeset/base/333240 >> >> Log: >> Allow __builtin_memmove instead of bcopy for small buffers of known size > > What is the justification for forcing a size rather than using the > compiler's built-in fallback to memmove? Is the kernel compilation > environment disabling that? Yes. I think the compiler can't use its builtin bcopy() in standalone mode.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpUr_2b-yT1-uExcY1Tvpg=-P3y_owNHQ0UPg604to8Y0Q>