Re: [PATCH] rtl-optimization/110587 - speedup find_hard_regno_for_1

2023-08-08 Thread Jeff Law via Gcc-patches
On 8/8/23 10:49, Vladimir Makarov wrote: On 8/7/23 09:18, Richard Biener wrote: On Wed, 2 Aug 2023, Richard Biener wrote: On Mon, 31 Jul 2023, Jeff Law wrote: On 7/31/23 04:54, Richard Biener via Gcc-patches wrote: On Tue, 25 Jul 2023, Richard Biener wrote: The following applies a mi

Re: [PATCH] rtl-optimization/110587 - speedup find_hard_regno_for_1

2023-08-08 Thread Vladimir Makarov via Gcc-patches
On 8/7/23 09:18, Richard Biener wrote: On Wed, 2 Aug 2023, Richard Biener wrote: On Mon, 31 Jul 2023, Jeff Law wrote: On 7/31/23 04:54, Richard Biener via Gcc-patches wrote: On Tue, 25 Jul 2023, Richard Biener wrote: The following applies a micro-optimization to find_hard_regno_for_1, r

Re: [PATCH] rtl-optimization/110587 - speedup find_hard_regno_for_1

2023-08-07 Thread Richard Biener via Gcc-patches
On Wed, 2 Aug 2023, Richard Biener wrote: > On Mon, 31 Jul 2023, Jeff Law wrote: > > > > > > > On 7/31/23 04:54, Richard Biener via Gcc-patches wrote: > > > On Tue, 25 Jul 2023, Richard Biener wrote: > > > > > >> The following applies a micro-optimization to find_hard_regno_for_1, > > >> re-or

Re: [PATCH] rtl-optimization/110587 - speedup find_hard_regno_for_1

2023-08-02 Thread Richard Biener via Gcc-patches
On Mon, 31 Jul 2023, Jeff Law wrote: > > > On 7/31/23 04:54, Richard Biener via Gcc-patches wrote: > > On Tue, 25 Jul 2023, Richard Biener wrote: > > > >> The following applies a micro-optimization to find_hard_regno_for_1, > >> re-ordering the check so we can easily jump-thread by using an els

Re: [PATCH] rtl-optimization/110587 - speedup find_hard_regno_for_1

2023-07-31 Thread Jeff Law via Gcc-patches
On 7/31/23 04:54, Richard Biener via Gcc-patches wrote: On Tue, 25 Jul 2023, Richard Biener wrote: The following applies a micro-optimization to find_hard_regno_for_1, re-ordering the check so we can easily jump-thread by using an else. This reduces the time spent in this function by 15% for

Re: [PATCH] rtl-optimization/110587 - speedup find_hard_regno_for_1

2023-07-31 Thread Richard Biener via Gcc-patches
On Tue, 25 Jul 2023, Richard Biener wrote: > The following applies a micro-optimization to find_hard_regno_for_1, > re-ordering the check so we can easily jump-thread by using an else. > This reduces the time spent in this function by 15% for the testcase > in the PR. > > Bootstrap & regtest runn

[PATCH] rtl-optimization/110587 - speedup find_hard_regno_for_1

2023-07-25 Thread Richard Biener via Gcc-patches
The following applies a micro-optimization to find_hard_regno_for_1, re-ordering the check so we can easily jump-thread by using an else. This reduces the time spent in this function by 15% for the testcase in the PR. Bootstrap & regtest running on x86_64-unknown-linux-gnu, OK if that passes? Tha