Re: [PATCH] Handle FMA friendly in reassoc pass

2023-06-08 Thread Maxim Kuvyrkov via Gcc-patches
> On May 25, 2023, at 03:30, Cui, Lili via Gcc-patches > wrote: > > From: Lili Cui > > Make some changes in reassoc pass to make it more friendly to fma pass later. > Using FMA instead of mult + add reduces register pressure and insruction > retired. > > There are mainly two changes > 1. Put

RE: [PATCH] Handle FMA friendly in reassoc pass

2023-06-07 Thread Cui, Lili via Gcc-patches
> bounces+Lili via > > Gcc-patches > > Sent: Thursday, May 25, 2023 7:30 AM > > To: gcc-patches@gcc.gnu.org > > Cc: richard.guent...@gmail.com; li...@linux.ibm.com; Lili Cui > > > > Subject: [PATCH] Handle FMA friendly in reassoc pass > > > > From: Lili Cu

RE: [PATCH] Handle FMA friendly in reassoc pass

2023-06-06 Thread Di Zhao OS via Gcc-patches
--Original Message- > From: Gcc-patches bounces+dizhao=os.amperecomputing@gcc.gnu.org> On Behalf Of Cui, Lili via > Gcc-patches > Sent: Thursday, May 25, 2023 7:30 AM > To: gcc-patches@gcc.gnu.org > Cc: richard.guent...@gmail.com; li...@linux.ibm.com; Lili Cui > > S

RE: [PATCH] Handle FMA friendly in reassoc pass

2023-05-29 Thread Cui, Lili via Gcc-patches
I will rebase and commit this patch, thanks! Lili. > -Original Message- > From: Cui, Lili > Sent: Thursday, May 25, 2023 7:30 AM > To: gcc-patches@gcc.gnu.org > Cc: richard.guent...@gmail.com; li...@linux.ibm.com; Cui, Lili > > Subject: [PATCH] Handle FMA fri

[PATCH] Handle FMA friendly in reassoc pass

2023-05-24 Thread Cui, Lili via Gcc-patches
From: Lili Cui Make some changes in reassoc pass to make it more friendly to fma pass later. Using FMA instead of mult + add reduces register pressure and insruction retired. There are mainly two changes 1. Put no-mult ops and mult ops alternately at the end of the queue, which is conducive to g