gcc/libgcc/config/i386
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
..
32 Update copyright years. 2018-01-03 11:03:58 +01:00
64
avx_resms64.S
avx_resms64f.S
avx_resms64fx.S
avx_resms64x.S
avx_savms64.S
avx_savms64f.S
cpuinfo.c Enable support for next generation AMD Zen CPU, via -march=znver2. 2018-11-04 11:17:54 +00:00
cpuinfo.h Enable support for next generation AMD Zen CPU, via -march=znver2. 2018-11-04 11:17:54 +00:00
crtfastmath.c Update copyright years. 2018-01-03 11:03:58 +01:00
crti.S Update copyright years. 2018-01-03 11:03:58 +01:00
crtn.S Update copyright years. 2018-01-03 11:03:58 +01:00
crtprec.c crtprec.c (set_precision): Use fnstcw instead of fstcw. 2018-09-26 17:25:15 +02:00
cygming-crtbegin.c Update copyright years. 2018-01-03 11:03:58 +01:00
cygming-crtend.c Update copyright years. 2018-01-03 11:03:58 +01:00
cygwin.S re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace) 2018-02-28 09:59:15 +01:00
darwin-lib.h Update copyright years. 2018-01-03 11:03:58 +01:00
dragonfly-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
elf-lib.h Update copyright years. 2018-01-03 11:03:58 +01:00
enable-execute-stack-mingw32.c Update copyright years. 2018-01-03 11:03:58 +01:00
freebsd-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
gthr-win32.c Update copyright years. 2018-01-03 11:03:58 +01:00
gthr-win32.h Update copyright years. 2018-01-03 11:03:58 +01:00
i386-asm.h re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace) 2018-02-28 09:59:15 +01:00
libgcc-bsd.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-cygming.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-darwin.10.4.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-darwin.10.5.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-glibc.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-sol2.ver Update copyright years. 2018-01-03 11:03:58 +01:00
linux-unwind.h x86: Update __CET__ check 2018-04-24 15:15:51 -07:00
morestack.S libgcc/CET: Add _CET_ENDBR to __stack_split_initialize 2018-04-19 08:22:27 -07:00
resms64.h Update copyright years. 2018-01-03 11:03:58 +01:00
resms64f.h Update copyright years. 2018-01-03 11:03:58 +01:00
resms64fx.h re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace) 2018-02-26 20:46:34 +01:00
resms64x.h re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace) 2018-02-26 20:46:34 +01:00
savms64.h Update copyright years. 2018-01-03 11:03:58 +01:00
savms64f.h Update copyright years. 2018-01-03 11:03:58 +01:00
sfp-exceptions.c Update copyright years. 2018-01-03 11:03:58 +01:00
sfp-machine.h
shadow-stack-unwind.h i386: Remove _Unwind_Frames_Increment 2018-07-27 07:40:47 -07:00
sol2-c1.S Update copyright years. 2018-01-03 11:03:58 +01:00
sol2-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
sse_resms64.S
sse_resms64f.S
sse_resms64fx.S
sse_resms64x.S
sse_savms64.S
sse_savms64f.S
t-chkstk
t-cpuinfo
t-cpuinfo-static
t-crtpc
t-crtstuff
t-cygming
t-cygwin
t-darwin
t-dlldir
t-dlldir-x
t-dragonfly
t-dw2-eh
t-freebsd
t-gthr-win32
t-linux Enable building libgcc with CET options. 2017-11-17 14:34:39 +01:00
t-mingw32
t-mingw-pthread
t-msabi
t-nto
t-seh-eh
t-sjlj-eh
t-slibgcc-cygming
t-softfp
t-sol2
t-stack-i386
value-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
w32-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00