[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQN_ZHM=sOHo263GojEoTha2OuoyobwGAevTG9wUS5JRQ@mail.gmail.com>
Date: Thu, 16 Nov 2017 09:03:49 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Julia Lawall <julia.lawall@...6.fr>
Cc: Michal Marek <michal.lkml@...kovi.net>,
Gilles Muller <Gilles.Muller@...6.fr>,
Nicolas Palix <nicolas.palix@...g.fr>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
cocci@...teme.lip6.fr
Subject: Re: [PATCH v2] coccinelle: orplus: reorganize to improve performance
2017-11-13 14:53 GMT+09:00 Julia Lawall <julia.lawall@...6.fr>:
> Adding two #define constants is less common than performing & and |
> operations on them, so put the addition first to reduce the set of cases
> that have to be considered in detail. At the same time, add & and |
> patterns for both arguments of +, to account for commutativity and obtain
> more results.
>
> Running time is divided by 3 when applying this to the whole kernel on my
> laptop with an Intel i5-6200U CPU.
>
> Signed-off-by: Julia Lawall <julia.lawall@...6.fr>
>
> ---
>
> v2: added SOB and fixed typos in the commit message
Applied to linux-kbuild/misc. Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists