[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdU2e2PdwKYVaEsJ73X8Di1XHNPqnxuunr8R8bN8udazxw@mail.gmail.com>
Date: Thu, 28 Apr 2016 19:51:06 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: George Spelvin <linux@...izon.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>, zengzhaoxiu@....com,
Rich Felker <dalias@...c.org>,
"David S. Miller" <davem@...emloft.net>,
Helge Deller <deller@....de>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
James Hogan <james.hogan@...tec.com>,
"James E.J. Bottomley" <jejb@...isc-linux.org>,
Jonas Bonn <jonas@...thpole.se>,
Lennox Wu <lennox.wu@...il.com>,
Ley Foon Tan <lftan@...era.com>,
alpha <linux-alpha@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-m68k <linux-m68k@...ts.linux-m68k.org>,
"open list:METAG ARCHITECTURE" <linux-metag@...r.kernel.org>,
Linux MIPS Mailing List <linux-mips@...ux-mips.org>,
Parisc List <linux-parisc@...r.kernel.org>,
Linux-sh list <linux-sh@...r.kernel.org>,
Russell King <linux@....linux.org.uk>,
linux <linux@...ts.openrisc.net>,
Chen Liqin <liqin.linux@...il.com>,
Matt Turner <mattst88@...il.com>,
Michal Simek <monstr@...str.eu>,
nios2-dev@...ts.rocketboards.org,
Ralf Baechle <ralf@...ux-mips.org>,
Richard Henderson <rth@...ddle.net>,
sparclinux <sparclinux@...r.kernel.org>,
uclinux-h8-devel@...ts.sourceforge.jp,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
zhaoxiu.zeng@...il.com
Subject: Re: [patch V3] lib: GCD: add binary GCD algorithm
On Thu, Apr 28, 2016 at 6:48 PM, George Spelvin <linux@...izon.com> wrote:
> Another few comments:
>
> 1. Would ARCH_HAS_FAST_FFS involve fewer changes than CPU_NO_EFFICIENT_FFS?
No, as you want to _disable_ ARCH_HAS_FAST_FFS / _enable_
CPU_NO_EFFICIENT_FFS as soon as you're enabling support for a
CPU that doesn't support it.
Logical OR is easier in both the Kconfig and C preprocessor languages
than logical NAND.
E.g. in Kconfig, a CPU core not supporting it can just select
CPU_NO_EFFICIENT_FFS.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists