Re: [PATCH] xtensa: Turn on -fsplit-wide-types-early by default

2022-08-15 Thread Max Filippov via Gcc-patches
On Sun, Aug 14, 2022 at 2:31 AM Takayuki 'January June' Suwa wrote: > > Since GCC10, the "subreg2" optimization pass was no longer tied to enabling > "subreg1" unless -fsplit-wide-types-early was turned on (PR88233). However > on the Xtensa port, the lack of "subreg2" can degrade the quality of

[PATCH] xtensa: Turn on -fsplit-wide-types-early by default

2022-08-14 Thread Takayuki 'January June' Suwa via Gcc-patches
Since GCC10, the "subreg2" optimization pass was no longer tied to enabling "subreg1" unless -fsplit-wide-types-early was turned on (PR88233). However on the Xtensa port, the lack of "subreg2" can degrade the quality of the output code, especially for those that produce many D[FC]mode pseudos.