Date: Thu, 18 Jun 2015 16:51:45 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org> Subject: Re: allow ffs & co. a binary search Message-ID: <5582CCF1.8010505@FreeBSD.org> In-Reply-To: <20150617165331.GA2080@kib.kiev.ua> References: <20150607081315.7c0f09fb@B85M-HD3-0.alogt.com> <5573EA5E.40806@selasky.org> <20150607195245.62dc191f@B85M-HD3-0.alogt.com> <20150607135453.GH2499@kib.kiev.ua> <558175FA.4040106@FreeBSD.org> <20150617165331.GA2080@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17/06/2015 19:53, Konstantin Belousov wrote: > AFAIR it was about 'sufficiently smart compiler' and the fact that the > functions are not on the hottest paths. It seems that sufficiently smart compilers still do not exist :-) At least as far as compilers that are used for compiling FreeBSD are considered. [Offtopic] my impression is that lately smartness of compilers is mostly being improved by various tricks and shortcuts (undefined behavior, etc), rather than by recognizing patterns in the C code that could be turned into more efficient machine code. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5582CCF1.8010505>