gcc/gcc/config/mips
Matthew Fortune d821744c63 config.gcc (supported_defaults): Add madd4.
gcc/
2017-01-19  Matthew Fortune  <matthew.fortune@imgtec.com>
	    Yunqiang Su  <yunqiang.su@imgtec.com>

	* config.gcc (supported_defaults): Add madd4.
	(with_madd4): Add validation.
	(all_defaults): Add madd4.
	* config/mips/mips.opt (mmadd4): New option.
	* gcc/config/mips/mips.h (OPTION_DEFAULT_SPECS): Add a default for
	mmadd4.
	(TARGET_CPU_CPP_BUILTINS): Add builtin_define for
	__mips_no_madd4.
	(ISA_HAS_UNFUSED_MADD4): Gate with mips_madd4.
	(ISA_HAS_FUSED_MADD4): Likewise.
	* gcc/doc/invoke.texi (-mmadd4): Document the new option.
	* gcc/doc/install.texi (--with-madd4): Document the new option.

gcc/testsuite/
2017-01-19  Matthew Fortune  <matthew.fortune@imgtec.com>

	* gcc.target/mips/madd4-1.c: New file.
	* gcc.target/mips/madd4-2.c: Likewise.
	* gcc.target/mips/mips.exp (mips_option_groups): Add ghost option
	HAS_MADD4.
	(mips_option_groups): Add -m[no-]madd4.
	(mips-dg-init): Detect default -mno-madd4.
	(mips-dg-options): Handle HAS_MADD4 arch upgrade/downgrade.
	* gcc.target/mips/mips-ps-type.c: Add -mmadd4 test option.
	* gcc.target/mips/mips-ps-type-2.c: Likewise.
	* gcc.target/mips/nmadd-1.c: Likewise.
	* gcc.target/mips/nmadd-2.c: Likewise.
	* gcc.target/mips/nmadd-3.c: Likewise.

Co-Authored-By: Yunqiang Su <yunqiang.su@imgtec.com>

From-SVN: r244676
2017-01-19 20:05:25 -05:00
..
4k.md Update copyright years. 2017-01-01 13:07:43 +01:00
5k.md Update copyright years. 2017-01-01 13:07:43 +01:00
20kc.md Update copyright years. 2017-01-01 13:07:43 +01:00
24k.md Update copyright years. 2017-01-01 13:07:43 +01:00
74k.md Update copyright years. 2017-01-01 13:07:43 +01:00
3000.md Update copyright years. 2017-01-01 13:07:43 +01:00
4000.md Update copyright years. 2017-01-01 13:07:43 +01:00
4100.md Update copyright years. 2017-01-01 13:07:43 +01:00
4130.md Update copyright years. 2017-01-01 13:07:43 +01:00
4300.md Update copyright years. 2017-01-01 13:07:43 +01:00
4600.md Update copyright years. 2017-01-01 13:07:43 +01:00
5000.md Update copyright years. 2017-01-01 13:07:43 +01:00
5400.md Update copyright years. 2017-01-01 13:07:43 +01:00
5500.md Update copyright years. 2017-01-01 13:07:43 +01:00
6000.md Update copyright years. 2017-01-01 13:07:43 +01:00
7000.md Update copyright years. 2017-01-01 13:07:43 +01:00
9000.md Update copyright years. 2017-01-01 13:07:43 +01:00
10000.md Update copyright years. 2017-01-01 13:07:43 +01:00
constraints.md Update copyright years. 2017-01-01 13:07:43 +01:00
driver-native.c Update copyright years. 2017-01-01 13:07:43 +01:00
elf.h Update copyright years. 2017-01-01 13:07:43 +01:00
elfoabi.h Update copyright years. 2017-01-01 13:07:43 +01:00
elforion.h Update copyright years. 2017-01-01 13:07:43 +01:00
frame-header-opt.c Update copyright years. 2017-01-01 13:07:43 +01:00
generic.md Update copyright years. 2017-01-01 13:07:43 +01:00
genopt.sh Update copyright years. 2017-01-01 13:07:43 +01:00
gnu-user.h Update copyright years. 2017-01-01 13:07:43 +01:00
i6400.md Update copyright years. 2017-01-01 13:07:43 +01:00
linux-common.h Update copyright years. 2017-01-01 13:07:43 +01:00
linux.h Update copyright years. 2017-01-01 13:07:43 +01:00
loongson.h Update copyright years. 2017-01-01 13:07:43 +01:00
loongson.md Update copyright years. 2017-01-01 13:07:43 +01:00
loongson2ef.md Update copyright years. 2017-01-01 13:07:43 +01:00
loongson3a.md Update copyright years. 2017-01-01 13:07:43 +01:00
m5100.md Update copyright years. 2017-01-01 13:07:43 +01:00
micromips.md Update copyright years. 2017-01-01 13:07:43 +01:00
mips-cpus.def Update copyright years. 2017-01-01 13:07:43 +01:00
mips-dsp.md Update copyright years. 2017-01-01 13:07:43 +01:00
mips-dspr2.md Update copyright years. 2017-01-01 13:07:43 +01:00
mips-fixed.md Update copyright years. 2017-01-01 13:07:43 +01:00
mips-ftypes.def Update copyright years. 2017-01-01 13:07:43 +01:00
mips-modes.def Update copyright years. 2017-01-01 13:07:43 +01:00
mips-msa.md Update copyright years. 2017-01-01 13:07:43 +01:00
mips-opts.h Update copyright years. 2017-01-01 13:07:43 +01:00
mips-protos.h Update copyright years. 2017-01-01 13:07:43 +01:00
mips-ps-3d.md Update copyright years. 2017-01-01 13:07:43 +01:00
mips-tables.opt Update copyright years. 2017-01-01 13:07:43 +01:00
mips.c Update copyright years. 2017-01-01 13:07:43 +01:00
mips.h config.gcc (supported_defaults): Add madd4. 2017-01-19 20:05:25 -05:00
mips.md Update copyright years. 2017-01-01 13:07:43 +01:00
mips.opt config.gcc (supported_defaults): Add madd4. 2017-01-19 20:05:25 -05:00
msa.h Update copyright years. 2017-01-01 13:07:43 +01:00
mti-elf.h Update copyright years. 2017-01-01 13:07:43 +01:00
mti-linux.h Update copyright years. 2017-01-01 13:07:43 +01:00
n32-elf.h Update copyright years. 2017-01-01 13:07:43 +01:00
netbsd.h Update copyright years. 2017-01-01 13:07:43 +01:00
octeon.md Update copyright years. 2017-01-01 13:07:43 +01:00
p5600.md Update copyright years. 2017-01-01 13:07:43 +01:00
predicates.md Update copyright years. 2017-01-01 13:07:43 +01:00
r3900.h Update copyright years. 2017-01-01 13:07:43 +01:00
rtems.h Update copyright years. 2017-01-01 13:07:43 +01:00
sb1.md Update copyright years. 2017-01-01 13:07:43 +01:00
sde.h Update copyright years. 2017-01-01 13:07:43 +01:00
sde.opt Update copyright years. 2017-01-01 13:07:43 +01:00
sdemtk.h Update copyright years. 2017-01-01 13:07:43 +01:00
sr71k.md Update copyright years. 2017-01-01 13:07:43 +01:00
st.h Update copyright years. 2017-01-01 13:07:43 +01:00
sync.md Update copyright years. 2017-01-01 13:07:43 +01:00
t-elf Update copyright years. 2017-01-01 13:07:43 +01:00
t-img-elf Update copyright years. 2017-01-01 13:07:43 +01:00
t-img-linux Update copyright years. 2017-01-01 13:07:43 +01:00
t-irix6
t-isa3264 Update copyright years. 2017-01-01 13:07:43 +01:00
t-linux64 Update copyright years. 2017-01-01 13:07:43 +01:00
t-mips Update copyright years. 2017-01-01 13:07:43 +01:00
t-mti-elf Update copyright years. 2017-01-01 13:07:43 +01:00
t-mti-linux Update copyright years. 2017-01-01 13:07:43 +01:00
t-r3900 Update copyright years. 2017-01-01 13:07:43 +01:00
t-rtems Update copyright years. 2017-01-01 13:07:43 +01:00
t-sb1 Update copyright years. 2017-01-01 13:07:43 +01:00
t-sde Update copyright years. 2017-01-01 13:07:43 +01:00
t-sdemtk Update copyright years. 2017-01-01 13:07:43 +01:00
t-sr71k Update copyright years. 2017-01-01 13:07:43 +01:00
t-st Update copyright years. 2017-01-01 13:07:43 +01:00
t-vr Update copyright years. 2017-01-01 13:07:43 +01:00
t-vxworks Update copyright years. 2017-01-01 13:07:43 +01:00
vr.h Update copyright years. 2017-01-01 13:07:43 +01:00
vxworks.h Update copyright years. 2017-01-01 13:07:43 +01:00
x-native
xlp.md Update copyright years. 2017-01-01 13:07:43 +01:00
xlr.md Update copyright years. 2017-01-01 13:07:43 +01:00