gcc/gcc/testsuite/lib
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
..
asan-dg.exp
atomic-dg.exp
brig-dg.exp
brig.exp
c-compat.exp
c-torture.exp
cilk-plus-dg.exp
clearcap.exp
compat.exp
copy-file.exp
dejapatches.exp
dg-pch.exp
file-format.exp
fortran-modules.exp
fortran-torture.exp
g++-dg.exp
g++.exp
gcc-defs.exp
gcc-dg.exp
gcc-gdb-test.exp
gcc-simulate-thread.exp
gcc.exp
gcov.exp
gfortran-dg.exp
gfortran.exp
gnat-dg.exp
gnat.exp
go-dg.exp
go-torture.exp
go.exp
lto.exp
mike-g++.exp
mike-gcc.exp
mpx-dg.exp
multiline.exp
obj-c++-dg.exp
obj-c++.exp
objc-dg.exp
objc-torture.exp
objc.exp
options.exp
plugin-support.exp
profopt.exp
prune.exp
scanasm.exp
scandump.exp
scanipa.exp
scanrtl.exp
scantree.exp
target-libpath.exp
target-supports-dg.exp
target-supports.exp S/390: arch12: Add arch12 option. 2017-03-24 13:59:51 +00:00
target-utils.exp
timeout-dg.exp
timeout.exp
torture-options.exp
tsan-dg.exp
ubsan-dg.exp
wrapper.exp