[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/48] tcg: optimize redundant sign extensions
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 00/48] tcg: optimize redundant sign extensions |
Date: |
Tue, 31 Aug 2021 00:00:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Hi Richard,
On 8/30/21 8:24 AM, Richard Henderson wrote:
> Currently, we have support for optimizing redundant zero extensions,
> which I think was done with x86 and aarch64 in mind, which zero-extend
> all 32-bit operations into the 64-bit register.
>
> But targets like Alpha, MIPS, and RISC-V do sign-extensions instead.
> The last 5 patches address this.
>
> But before that, split the quite massive tcg_optimize function.
Looks promising after quick review. Do you have any comparison perf numbers?
- Re: [PATCH 40/48] tcg/optimize: Expand fold_addsub2_i32 to 64-bit ops, (continued)
- [PATCH 41/48] tcg/optimize: Sink commutative operand swapping into fold functions, Richard Henderson, 2021/08/30
- [PATCH 47/48] tcg/optimize: Propagate sign info for bit counting, Richard Henderson, 2021/08/30
- [PATCH 44/48] tcg/optimize: Optimize sign extensions, Richard Henderson, 2021/08/30
- [PATCH 45/48] tcg/optimize: Propagate sign info for logical operations, Richard Henderson, 2021/08/30
- [PATCH 43/48] tcg/optimize: Stop forcing z_mask to "garbage" for 32-bit values, Richard Henderson, 2021/08/30
- [PATCH 46/48] tcg/optimize: Propagate sign info for setcond, Richard Henderson, 2021/08/30
- [PATCH 42/48] tcg/optimize: Add more simplifications for orc, Richard Henderson, 2021/08/30
- [PATCH 48/48] tcg/optimize: Propagate sign info for shifting, Richard Henderson, 2021/08/30
- Re: [PATCH 00/48] tcg: optimize redundant sign extensions,
Philippe Mathieu-Daudé <=