qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [PATCH] target/m68k: Optimize shift_mem() using extract() TCG opcode
Date: Sun, 3 Oct 2021 11:30:45 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

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 by the extract opcode.

Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  target/m68k/translate.c | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]