Re: [PATCH] RISC-V: Produce better code with complex constants [PR95632] [PR106602]

2022-12-08 Thread Palmer Dabbelt
On Thu, 08 Dec 2022 10:15:47 PST (-0800), gcc-patches@gcc.gnu.org wrote: On 12/8/22 10:53, Palmer Dabbelt wrote: On Wed, 07 Dec 2022 12:55:17 PST (-0800), rzin...@ventanamicro.com wrote: Due to RISC-V limitations on operations with big constants combine is failing to match such operations and

Re: [PATCH] RISC-V: Produce better code with complex constants [PR95632] [PR106602]

2022-12-08 Thread Jeff Law via Gcc-patches
On 12/8/22 10:53, Palmer Dabbelt wrote: On Wed, 07 Dec 2022 12:55:17 PST (-0800), rzin...@ventanamicro.com wrote: Due to RISC-V limitations on operations with big constants combine is failing to match such operations and is not being able to produce optimal code as it keeps splitting them. By

Re: [PATCH] RISC-V: Produce better code with complex constants [PR95632] [PR106602]

2022-12-08 Thread Palmer Dabbelt
On Wed, 07 Dec 2022 12:55:17 PST (-0800), rzin...@ventanamicro.com wrote: Due to RISC-V limitations on operations with big constants combine is failing to match such operations and is not being able to produce optimal code as it keeps splitting them. By pretending we can do those operations we ca

Re: [PATCH] RISC-V: Produce better code with complex constants [PR95632] [PR106602]

2022-12-08 Thread Palmer Dabbelt
On Wed, 07 Dec 2022 13:30:32 PST (-0800), gcc-patches@gcc.gnu.org wrote: On Wed, Dec 07, 2022 at 05:55:17PM -0300, Raphael Moreira Zinsly wrote: Due to RISC-V limitations on operations with big constants combine is failing to match such operations and is not being able to produce optimal code as

Re: [PATCH] RISC-V: Produce better code with complex constants [PR95632] [PR106602]

2022-12-07 Thread Jakub Jelinek via Gcc-patches
On Wed, Dec 07, 2022 at 05:55:17PM -0300, Raphael Moreira Zinsly wrote: > Due to RISC-V limitations on operations with big constants combine > is failing to match such operations and is not being able to > produce optimal code as it keeps splitting them. By pretending we > can do those operations w

Re: [PATCH] RISC-V: Produce better code with complex constants [PR95632] [PR106602]

2022-12-07 Thread Jeff Law via Gcc-patches
On 12/7/22 13:55, Raphael Moreira Zinsly wrote: Due to RISC-V limitations on operations with big constants combine is failing to match such operations and is not being able to produce optimal code as it keeps splitting them. By pretending we can do those operations we can get more opportunitie

[PATCH] RISC-V: Produce better code with complex constants [PR95632] [PR106602]

2022-12-07 Thread Raphael Moreira Zinsly
Due to RISC-V limitations on operations with big constants combine is failing to match such operations and is not being able to produce optimal code as it keeps splitting them. By pretending we can do those operations we can get more opportunities for simplification of surrounding instructions. 20