i386: Avoid fma_chain for -march=alderlake and sapphirerapids.
authorHongyu Wang <hongyu.wang@intel.com>
Tue, 6 Dec 2022 01:53:35 +0000 (09:53 +0800)
committerHongyu Wang <hongyu.wang@intel.com>
Wed, 7 Dec 2022 08:44:14 +0000 (16:44 +0800)
commit3a1a141f79c83ad38f7db3a21d8a4dcfe625c176
tree9ee231a5a32b4b51228a2907ace77bc3cd29e526
parentcb6922f490d3133e4ccbc1190b555d16695fc9c3
i386: Avoid fma_chain for -march=alderlake and sapphirerapids.

For Alderlake there is similar issue like PR 81616, enable
avoid_fma256_chain will also benefit on Intel latest platforms
Alderlake and Sapphire Rapids.

gcc/ChangeLog:

* config/i386/x86-tune.def (X86_TUNE_AVOID_256FMA_CHAINS): Add
m_SAPPHIRERAPIDS, m_ALDERLAKE and m_CORE_ATOM.
gcc/config/i386/x86-tune.def