Re: [PATCH] coccinelle: orplus: reodganize to improve performance

2017-11-12 Thread Masahiro Yamada
Hi Julia, 2017-11-13 3:41 GMT+09:00 Julia Lawall : > 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

[PATCH] coccinelle: orplus: reodganize to improve performance

2017-11-12 Thread Julia Lawall
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.