[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/avr: Optimize various functions using extract opcode
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] target/avr: Optimize various functions using extract opcode |
Date: |
Wed, 27 Oct 2021 06:39:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Hi Richard,
On 10/3/21 17:24, Richard Henderson wrote:
> On 10/3/21 10:21 AM, Philippe Mathieu-Daudé wrote:
>> 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(-)
>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Do you mind taking this patch via tcg-next?