https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120815

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:7fd6cb3c8488465ae0529f543f5309584961503d

commit r16-1667-g7fd6cb3c8488465ae0529f543f5309584961503d
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Wed Jun 25 07:40:31 2025 +0800

    x86: Update -mtune=intel for Diamond Rapids/Clearwater Forest

    -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.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Reply via email to