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.
>
> Thanks.
>
> --
> H.J.



-- 
BR,
Hongtao

Reply via email to