gcc/libgcc/config/i386
Olga Makhotina 74b2bb19f3 config.gcc: Support "goldmont-plus".
2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>

gcc/

	* config.gcc: Support "goldmont-plus".
	* config/i386/driver-i386.c (host_detect_local_cpu): Detect
	"goldmont-plus".
	* config/i386/i386-c.c (ix86_target_macros_internal): Handle
	PROCESSOR_GOLDMONT_PLUS.
	* config/i386/i386.c (m_GOLDMONT_PLUS): Define.
	(processor_target_table): Add "goldmont-plus".
	(PTA_GOLDMONT_PLUS): Define.
	(ix86_lea_outperforms): Add TARGET_GOLDMONT_PLUS.
	(get_builtin_code_for_version): Handle PROCESSOR_GOLDMONT_PLUS.
	(fold_builtin_cpu): Add M_INTEL_GOLDMONT_PLUS.
	(fold_builtin_cpu): Add "goldmont-plus".
	(ix86_add_stmt_cost): Add TARGET_GOLDMONT_PLUS.
	(ix86_option_override_internal): Add "goldmont-plus".
	* config/i386/i386.h (processor_costs): Define TARGET_GOLDMONT_PLUS.
	(processor_type): Add PROCESSOR_GOLDMONT_PLUS.
	* config/i386/x86-tune.def: Add m_GOLDMONT_PLUS.
	* doc/invoke.texi: Add goldmont-plus as x86 -march=/-mtune= CPU type.

libgcc/

	* config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
	* config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.

gcc/testsuite/

	* gcc.target/i386/builtin_target.c: Test goldmont-plus.
	* gcc.target/i386/funcspec-56.inc: Test arch=goldmont-plus.

From-SVN: r260307
2018-05-17 10:13:23 +02:00
..
32 Update copyright years. 2018-01-03 11:03:58 +01:00
64 * Partially revert my previous commit. 2016-06-14 01:11:27 +02:00
avx_resms64.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_resms64f.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_resms64fx.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_resms64x.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_savms64.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_savms64f.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
cpuinfo.c config.gcc: Support "goldmont-plus". 2018-05-17 10:13:23 +02:00
cpuinfo.h config.gcc: Support "goldmont-plus". 2018-05-17 10:13:23 +02: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 Update copyright years. 2018-01-03 11:03:58 +01: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 [libgcc] Remove semicolon after do {} while (0) in FP_HANDLE_EXCEPTIONS 2017-11-07 08:11:43 +00:00
shadow-stack-unwind.h libgcc/CET: Skip signal frames when unwinding shadow stack 2018-04-19 10:05:39 -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 PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_resms64f.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_resms64fx.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_resms64x.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_savms64.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_savms64f.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
t-chkstk Move libgcc1 to toplevel libgcc 2011-11-02 15:03:19 +00:00
t-cpuinfo Use i386-cpuinfo.c on all i386 targets 2012-05-10 08:51:39 +00:00
t-cpuinfo-static [i386][musl] Add cpuinfo to static libgcc only on *-musl* 2016-11-11 17:31:07 +00:00
t-crtpc crtprec.c: Move to ../libgcc/config/i386. 2011-07-13 17:39:35 +00:00
t-crtstuff t-slibgcc-darwin: Move to ... 2011-06-01 14:39:17 +00:00
t-cygming cygming-crtend.c (register_frame_ctor): Move atexit call from here... 2014-08-19 17:22:59 +02:00
t-cygwin Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-darwin Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-dlldir Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-dlldir-x Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-dragonfly t-dragonfly: New. 2015-07-13 15:53:16 +01:00
t-dw2-eh Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-freebsd
t-gthr-win32 Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-linux Enable building libgcc with CET options. 2017-11-17 14:34:39 +01:00
t-mingw-pthread Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-mingw32 Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-msabi PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
t-nto Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-seh-eh eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
t-sjlj-eh Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-slibgcc-cygming eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
t-softfp sfp-machine.h (__gcc_CMPtype, [...]): Move ... 2012-06-09 19:32:27 +02:00
t-sol2 Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
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