gcc/gcc/config/s390
Andreas Krebbel 6654e96fc8 S/390: arch12: Add arch12 option.
This patch covers the mechanical work of making the new architecture
option arch12 available wherever it will be needed later.

gcc/testsuite/ChangeLog:

2017-03-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* gcc.target/s390/s390.exp: Run tests in arch12 and vxe dirs.
	* lib/target-supports.exp: Add effective target check s390_vxe.

gcc/ChangeLog:

2017-03-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* common/config/s390/s390-common.c (processor_flags_table): Add
	arch12.
	* config.gcc: Add arch12.
	* config/s390/driver-native.c (s390_host_detect_local_cpu):
	Default to arch12 for unknown CPU model numbers.
	* config/s390/s390-builtins.def: Add B_VXE builtin flag.
	* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Adjust
	PROCESSOR_max sanity check.
	* config/s390/s390-opts.h (enum processor_type): Add
	PROCESSOR_ARCH12.
	* config/s390/s390.c (processor_table): Add arch12.
	(s390_expand_builtin): Add check for B_VXE flag.
	(s390_issue_rate): Add PROCESSOR_ARCH12.
	(s390_get_sched_attrmask): Likewise.
	(s390_get_unit_mask): Likewise.
	(s390_sched_score): Enable z13 scheduling for arch12.
	(s390_sched_reorder): Likewise.
	(s390_sched_variable_issue): Likewise.
	* config/s390/s390.h (enum processor_flags): Add PF_ARCH12 and
	PF_VXE.
	(s390_tune_attr): Use z13 scheduling also for arch12.
	(TARGET_CPU_ARCH12, TARGET_CPU_ARCH12_P, TARGET_CPU_VXE)
	(TARGET_CPU_VXE_P, TARGET_ARCH12, TARGET_ARCH12_P, TARGET_VXE)
	(TARGET_VXE_P): New macros.
	* config/s390/s390.md: Add arch12 to cpu attribute.  Add arch12
	and vxe to cpu_facility.  Add arch12 and vxe to enabled attribute.
	* config/s390/s390.opt: Add arch12 as processor_type.

From-SVN: r246452
2017-03-24 13:59:51 +00:00
..
2064.md Update copyright years. 2017-01-01 13:07:43 +01:00
2084.md Update copyright years. 2017-01-01 13:07:43 +01:00
2097.md Update copyright years. 2017-01-01 13:07:43 +01:00
2817.md Update copyright years. 2017-01-01 13:07:43 +01:00
2827.md Update copyright years. 2017-01-01 13:07:43 +01:00
2964.md S/390: Use wfc for scalar vector compares 2017-03-24 13:58:41 +00:00
constraints.md S/390: Improve support of 128 bit vectors in GPRs 2017-03-24 13:53:43 +00:00
driver-native.c S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
htmintrin.h Update copyright years. 2017-01-01 13:07:43 +01:00
htmxlintrin.h Update copyright years. 2017-01-01 13:07:43 +01:00
linux.h S/390: Add SIZE_TYPE comment. 2017-02-06 10:25:05 +00:00
predicates.md S/390: Use macros from hwint.h where possible. 2017-02-06 11:42:07 +00:00
s390-builtin-types.def S/390: Cleanup: Remove builtin type flags. 2017-02-14 15:38:02 +00:00
s390-builtins.def S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
s390-builtins.h Update copyright years. 2017-01-01 13:07:43 +01:00
s390-c.c S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
s390-modes.def Update copyright years. 2017-01-01 13:07:43 +01:00
s390-opts.h S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
s390-protos.h Update copyright years. 2017-01-01 13:07:43 +01:00
s390.c S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
s390.h S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
s390.md S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
s390.opt S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
s390intrin.h Update copyright years. 2017-01-01 13:07:43 +01:00
s390x.h Update copyright years. 2017-01-01 13:07:43 +01:00
subst.md Update copyright years. 2017-01-01 13:07:43 +01:00
t-linux64
t-s390 Update copyright years. 2017-01-01 13:07:43 +01:00
tpf.h Update copyright years. 2017-01-01 13:07:43 +01:00
tpf.md Update copyright years. 2017-01-01 13:07:43 +01:00
tpf.opt Update copyright years. 2017-01-01 13:07:43 +01:00
vecintrin.h Update copyright years. 2017-01-01 13:07:43 +01:00
vector.md S/390: vec_init improvements 2017-03-24 13:54:23 +00:00
vx-builtins.md S/390: vec_init improvements 2017-03-24 13:54:23 +00:00
x-native S390: Support -mtune=native and -march=native. 2015-06-01 11:38:44 +00:00