On Sat, Apr 24, 2021 at 3:43 PM Cui, Lili <lili....@intel.com> wrote:
>
> Hi Uros,
>
> This patch is  to synchronize Rocket Lake's processor_names and 
> processor_cost_table with processor_type.
>
> Bootstrap is ok, and no regressions for i386/x86-64 testsuite.
>
> OK for master?
>
> [PATCH] Synchronize Rocket Lake's processor_names and
>  processor_cost_table with processor_type
>
> gcc/ChangeLog
>
>         * common/config/i386/i386-common.c (processor_names):
>         Sync processor_names with processor_type.
>         * config/i386/i386-options.c (processor_cost_table):
>         Sync processor_cost_table with processor_type.

OK.

Thanks,
Uros.

> ---
>  gcc/common/config/i386/i386-common.c | 2 +-
>  gcc/config/i386/i386-options.c       | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/common/config/i386/i386-common.c 
> b/gcc/common/config/i386/i386-common.c
> index 1e6c1590ac4..6a7b5c8312f 100644
> --- a/gcc/common/config/i386/i386-common.c
> +++ b/gcc/common/config/i386/i386-common.c
> @@ -1743,13 +1743,13 @@ const char *const processor_names[] =
>    "skylake-avx512",
>    "cannonlake",
>    "icelake-client",
> -  "rocketlake",
>    "icelake-server",
>    "cascadelake",
>    "tigerlake",
>    "cooperlake",
>    "sapphirerapids",
>    "alderlake",
> +  "rocketlake",
>    "intel",
>    "geode",
>    "k6",
> diff --git a/gcc/config/i386/i386-options.c b/gcc/config/i386/i386-options.c
> index 7e59ccd988d..eafa3d4f715 100644
> --- a/gcc/config/i386/i386-options.c
> +++ b/gcc/config/i386/i386-options.c
> @@ -726,12 +726,12 @@ static const struct processor_costs 
> *processor_cost_table[] =
>    &icelake_cost,
>    &icelake_cost,
>    &icelake_cost,
> -  &icelake_cost,
>    &skylake_cost,
>    &icelake_cost,
>    &skylake_cost,
>    &icelake_cost,
>    &icelake_cost,
> +  &icelake_cost,
>    &intel_cost,
>    &geode_cost,
>    &k6_cost,
> --
> 2.17.1
>
> Thanks,
> Lili.

Reply via email to