> Am 25.06.2025 um 07:32 schrieb H.J. Lu <hjl.to...@gmail.com>:
> 
> On Wed, Jun 25, 2025 at 1:11 PM Hongtao Liu <crazy...@gmail.com> wrote:
>> 
>>> On Wed, Jun 25, 2025 at 1:06 PM H.J. Lu <hjl.to...@gmail.com> wrote:
>>> 
>>> -mtune=intel is used to generate a single binary to run well on both big
>>> core and small core, similar to hybrid CPUs.  Update -mtune=intel to tune
>>> for Diamond Rapids and Clearwater Forest, instead of Silvermont.
>>> 
>>> PR target/120815
>>> * common/config/i386/i386-common.cc (processor_alias_table):
>>> Replace CPU_SLM/PTA_NEHALEM with CPU_HASWELL/PTA_HASWELL for
>>> PROCESSOR_INTEL.
>>> * config/i386/i386-options.cc (processor_cost_table): Replace
>>> intel_cost with alderlake_cost.
>>> * config/i386/x86-tune-costs.h (intel_cost): Removed.
>>> * config/i386/x86-tune-sched.cc (ix86_issue_rate): Treat
>>> PROCESSOR_INTEL like PROCESSOR_ALDERLAKE.
>>> (ix86_adjust_cost): Likewise.
>>> * doc/invoke.texi: Update -mtune=intel for Diamond Rapids and
>>> Clearwater Forest.
>>> 
>>> OK for master?
>> Ok.
> 
> Should it be backported to release branches?

I think that’s disruption we want to avoid there.  The 15 branch could 
eventually be considered.

Richard 

> 
> 
> --
> H.J.

Reply via email to