When running the scripts/coccinelle/tcg_gen_extract.cocci
Coccinelle semantic patch on target/avr/, we get:
[DBG] candidate at target/avr/translate.c:228
[DBG] candidate at target/avr/translate.c:266
[DBG] candidate at target/avr/translate.c:885
[DBG] candidate at target/avr/translate.c:924
[DBG] candidate at target/avr/translate.c:962
Manually inspect and replace combinations of (shri, andi)
opcodes by the extract opcode.
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
target/avr/translate.c | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)