Venkataramanan Kumar
2901f42f4b
Enable support for next generation AMD Zen CPU, via -march=znver2.
gcc/ChangeLog:
* common/config/i386/i386-common.c (processor_alias_table): Add znver2 entry.
* config.gcc (i[34567]86-*-linux* | ...): Add znver2.
(case ${target}): Add znver2.
* config/i386/driver-i386.c: (host_detect_local_cpu): Let
-march=native recognize znver2 processors.
* config/i386/i386-c.c (ix86_target_macros_internal): Add znver2.
* config/i386/i386.c (m_znver2): New definition.
(m_ZNVER): New definition.
(m_AMD_MULTIPLE): Includes m_znver2.
(processor_cost_table): Add znver2 entry.
(processor_target_table): Add znver2 entry.
(get_builtin_code_for_version): Set priority for
PROCESSOR_ZNVER2.
(processor_model): Add M_AMDFAM17H_ZNVER2.
(arch_names_table): Ditto.
(ix86_reassociation_width): Include znver2.
* config/i386/i386.h (TARGET_znver2): New definition.
(struct ix86_size_cost): Add TARGET_ZNVER2.
(enum processor_type): Add PROCESSOR_ZNVER2.
* config/i386/i386.md (define_attr "cpu"): Add znver2.
* config/i386/x86-tune-costs.h: (processor_costs) Add znver2 costs.
* config/i386/x86-tune-sched.c: (ix86_issue_rate): Add znver2.
(ix86_adjust_cost): Add znver2.
* config/i386/x86-tune.def: Replace m_ZNVER1 by m_ZNVER
* gcc/doc/extend.texi: Add details about znver2.
* gcc/doc/invoke.texi: Add details about znver2.
libgcc/ChangeLog
* config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
* config/i386/cpuinfo.h(processor_subtypes): Ditto.
From-SVN: r265775
2018-11-04 11:17:54 +00:00
..
2018-11-04 11:17:54 +00:00
2017-01-24 23:32:30 +01:00
2018-11-04 11:17:54 +00:00
2018-08-22 12:05:45 +00:00
2018-02-28 09:59:15 +01:00
2018-10-31 17:03:16 +00:00
2018-10-31 17:03:16 +00:00
2018-05-30 17:21:48 -06:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-10-18 14:01:15 -04:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-06-20 21:11:23 +00:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-10-03 22:29:10 +02:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-06-07 04:21:35 +00:00
2018-09-21 08:41:17 +00:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-10-25 15:36:12 +00:00
2018-09-21 08:41:17 +00:00
2018-10-04 12:41:14 +00:00
2018-10-17 18:39:48 +00:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-10-18 14:01:15 -04:00
2018-10-18 14:01:15 -04:00
2018-10-18 14:01:15 -04:00
2018-10-18 14:01:15 -04:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-13 17:56:52 +00:00
2018-01-03 11:03:58 +01:00
2018-04-19 10:05:39 -07:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-04-19 10:05:39 -07:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00
2018-01-03 11:03:58 +01:00