Re: [Qemu-devel] [PATCH 6/8] target/mips: optimize bshfl() using extract op

2017-05-11 Thread Philippe Mathieu-Daudé
Hi, As noticed by Richard in another patch, this one is also WRONG: $ docker run -it -v `pwd`:`pwd` -w `pwd` petersenna/coccinelle --sp-file scripts/coccinelle/tcg_gen_extract.cocci --macro-file scripts/cocci-macro-file.h target/mips/translate.c init_defs_builtins: /usr/lib64/coccinelle/stand

[Qemu-devel] [PATCH 6/8] target/mips: optimize bshfl() using extract op

2017-05-10 Thread Philippe Mathieu-Daudé
Applied using Coccinelle script. Signed-off-by: Philippe Mathieu-Daudé --- target/mips/translate.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/target/mips/translate.c b/target/mips/translate.c index 3022f349cb..96177da9ae 100644 --- a/target/mips/translate.c +++