[x86, PATCH 1/2] Enabling of the new Intel microarchitecture Silvermont

Zamyatin, Igor igor.zamyatin@intel.com
Tue May 28 09:14:00 GMT 2013


Hi All!

Several weeks ago Intel announced new microarchitecture named Silvermont (see for example http://newsroom.intel.com/community/intel_newsroom/blog/2013/05/06/intel-launches-low-power-high-performance-silvermont-microarchitecture ).

This patch is the first and it enables Silvermont architecture in the GCC compiler (second patch will add some performance related features).

Bootstrapped and tested on x86_64-unknown-linux-gnu, ok for trunk?

Thanks,
Igor

2013-05-27  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
            Igor Zamyatin  <igor.zamyatin@intel.com>

        Silvermont (SLM) architecture pipeline model, tuning and
        insn selection.
        * config.gcc: Add slm config options and target.

        * config/i386/slm.md: New.

        * config/i386/driver-i386.c (host_detect_local_cpu): Check movbe.

        * gcc/config/i386/i386-c.c (ix86_target_macros_internal):  New case
        PROCESSOR_SLM.
        (ix86_target_macros_internal): Likewise.

        * gcc/config/i386/i386.c (slm_cost): New cost.
        (m_SLM): New macro flag.
        (initial_ix86_tune_features): Set m_SLM.
        (x86_accumulate_outgoing_args): Likewise.
        (x86_arch_always_fancy_math_387): Likewise.
        (processor_target_table): Add slm cost.
        (cpu_names): Add slm cpu name.
        (x86_option_override_internal): Set SLM ISA.
        (ix86_issue_rate): New case PROCESSOR_SLM.
        (ia32_multipass_dfa_lookahead): Likewise.
        (fold_builtin_cpu): Add slm.

        * config/i386/i386.h (TARGET_SLM): New target macro.
        (target_cpu_default): Add TARGET_CPU_DEFAULT_slm.
        (processor_type): Add PROCESSOR_SLM.

        * config/i386/i386.md (cpu): Add new value "slm".
        (slm.md): Include slm.md.

        * libgcc/config/i386/cpuinfo.c (INTEL_SLM): New enum value.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc_slm_patch1.patch
Type: application/octet-stream
Size: 49194 bytes
Desc: gcc_slm_patch1.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130528/2853c49c/attachment.obj>


More information about the Gcc-patches mailing list