Re: [PATCH 3/3] [x86] Enable flate-combine.

2024-07-03 Thread Andrew Pinski
On Wed, Jul 3, 2024 at 4:25 PM Iain Sandoe wrote: > > > > > On 28 Jun 2024, at 07:03, Uros Bizjak wrote: > > > > On Fri, Jun 28, 2024 at 7:29 AM liuhongt wrote: > >> > >> Move pass_stv2 and pass_rpad after pre_reload pass_late_combine, also > >> define target_insn_cost to prevent post_reload

Re: [PATCH 3/3] [x86] Enable flate-combine.

2024-07-03 Thread Iain Sandoe
> On 28 Jun 2024, at 07:03, Uros Bizjak wrote: > > On Fri, Jun 28, 2024 at 7:29 AM liuhongt wrote: >> >> Move pass_stv2 and pass_rpad after pre_reload pass_late_combine, also >> define target_insn_cost to prevent post_reload pass_late_combine to >> revert the optimziation did in pass_rpad.

Re: [PATCH 3/3] [x86] Enable flate-combine.

2024-06-28 Thread Uros Bizjak
On Fri, Jun 28, 2024 at 7:29 AM liuhongt wrote: > > Move pass_stv2 and pass_rpad after pre_reload pass_late_combine, also > define target_insn_cost to prevent post_reload pass_late_combine to > revert the optimziation did in pass_rpad. > > Adjust testcases since pass_late_combine generates better

[PATCH 3/3] [x86] Enable flate-combine.

2024-06-27 Thread liuhongt
Move pass_stv2 and pass_rpad after pre_reload pass_late_combine, also define target_insn_cost to prevent post_reload pass_late_combine to revert the optimziation did in pass_rpad. Adjust testcases since pass_late_combine generates better code but break scan assembly. .i.e Under 32-bit target,