Re: [PATCH] target/m68k: Optimize shift_mem() using extract() TCG opcode

2021-10-27 Thread Philippe Mathieu-Daudé
On 10/3/21 17:30, Richard Henderson wrote: > On 10/3/21 10:24 AM, Philippe Mathieu-Daudé wrote: >> When running the scripts/coccinelle/tcg_gen_extract.cocci >> Coccinelle semantic patch on target/m68k/, we get: >> >> [DBG] candidate at target/m68k/translate.c:3668 >> >> Manually inspect and re

Re: [PATCH] target/m68k: Optimize shift_mem() using extract() TCG opcode

2021-10-03 Thread Richard Henderson
On 10/3/21 10:24 AM, Philippe Mathieu-Daudé wrote: When running the scripts/coccinelle/tcg_gen_extract.cocci Coccinelle semantic patch on target/m68k/, we get: [DBG] candidate at target/m68k/translate.c:3668 Manually inspect and replace combinations of (shri, andi) and (movi, andi) opcodes

[PATCH] target/m68k: Optimize shift_mem() using extract() TCG opcode

2021-10-03 Thread Philippe Mathieu-Daudé
When running the scripts/coccinelle/tcg_gen_extract.cocci Coccinelle semantic patch on target/m68k/, we get: [DBG] candidate at target/m68k/translate.c:3668 Manually inspect and replace combinations of (shri, andi) and (movi, andi) opcodes by the extract opcode. Signed-off-by: Philippe Mathi