https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782
--- Comment #36 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to pthaugen from comment #33) > (In reply to rsand...@gcc.gnu.org from comment #32) > > Created attachment 52102 [details] > > Alternative patch > > > > This patch is a squash of several ira tweaks that together recover the > > pre-GCC11 exchange2 performance on aarch64. It isn't ready for trunk > > yet (hence lack of comments and changelog). It would be great to hear > > whether/how it works on other targets though. > > I tried the patch on a Power9 system. Execution time went from 371 seconds > to 291. The patch also recover 548.exchange2_r performance on ICX, thanks.