Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2014 18:10:23 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, John-Mark Gurney <jmg@funkthat.com>, src-committers@freebsd.org, Hans Petter Selasky <hselasky@freebsd.org>
Subject:   Re: svn commit: r275468 - head/sys/dev/usb/controller
Message-ID:  <86wq67e3y8.fsf@nine.des.no>
In-Reply-To: <1373EB55-4238-40D0-B481-53C8B46D6E6C@FreeBSD.org> (Dimitry Andric's message of "Thu, 4 Dec 2014 17:55:40 %2B0100")
References:  <201412032155.sB3LtjJN043364@svn.freebsd.org> <20141204005451.GM99957@funkthat.com> <1373EB55-4238-40D0-B481-53C8B46D6E6C@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dim@FreeBSD.org> writes:
> Maybe it is easier to alias ffs() and friends to __builtin_ffs(),
> since the compilers we support have these builtins already.

That should already be the case on platforms that support it.  There is
absolutely no reason to hand-roll an ffs() equivalent.

(unfortunately, only i386 and amd64 do this; someone[tm] should fix the
others)

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wq67e3y8.fsf>