Re: [PING][PATCH] tree-optimization/110279- Check for nested FMA chains in reassoc

2023-07-07 Thread Philipp Tomsich
nks, Philipp. > > > Thanks, > Di Zhao > > > > -Original Message----- > > From: Di Zhao OS > > Sent: Friday, June 16, 2023 4:51 PM > > To: gcc-patches@gcc.gnu.org > > Subject: [PATCH] tree-optimization/110279- Check for nested FMA chains in > >

[PING][PATCH] tree-optimization/110279- Check for nested FMA chains in reassoc

2023-07-07 Thread Di Zhao OS via Gcc-patches
1.3% 508.namd_r 1.58% overall 0.42% Thanks, Di Zhao > -Original Message- > From: Di Zhao OS > Sent: Friday, June 16, 2023 4:51 PM > To: gcc-patches@gcc.gnu.org > Subject: [PATCH] tree-optimization/110279- Check for nested FMA chains in > reassoc &

[PATCH] tree-optimization/110279- Check for nested FMA chains in reassoc

2023-06-16 Thread Di Zhao OS via Gcc-patches
This patch is to fix the regressions found in SPEC2017 fprate cases on aarch64. 1. Reused code in pass widening_mul to check for nested FMA chains (those connected by MULT_EXPRs), since re-writing to parallel generates worse codes. 2. Avoid re-arrange to produce less FMA chains that can be slo