gcc/gcc/common/config
Walter Lee 341c653c70 TILE-Gx big endian support.
/:
	* configure.ac (tilepro-*-*) Change to tilepro*-*-*.
	(tilegx-*-*): Change to tilegx*-*-*.
	* configure: Regenerate.

contrib/:
	* config-list.mk (LIST): Add tilegxbe-linux-gnu.

libcpp/:
	* configure.ac: Change "tilepro" triplet to "tilepro*".
	* configure: Regenerate.

libgcc/:
	* config.host: Support "tilegx*" and "tilepro*" triplets.
	* config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
	* config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.

gcc/:
	* config.gcc (tilepro-*-*): Change to tilepro*-*-*.
	(tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe
	triplet.
	* common/config/tilegx/tilegx-common.c
	(TARGET_DEFAULT_TARGET_FLAGS): Define.
	* config/tilegx/linux.h (ASM_SPEC): Add endian_spec.
	(LINK_SPEC): Ditto.
	* config/tilegx/sync.md (atomic_test_and_set): Handle big endian.
	* config/tilegx/tilegx.c (tilegx_return_in_msb): New.
	(tilegx_gimplify_va_arg_expr): Handle big endian.
	(tilegx_expand_unaligned_load): Ditto.
	(tilegx_expand_unaligned_store): Ditto.
	(TARGET_RETURN_IN_MSB): New.
	* config/tilegx/tilegx.h (TARGET_DEFAULT): New.
	(TARGET_ENDIAN_DEFAULT): New.
	(TARGET_BIG_ENDIAN): Handle big endian.
	(BYTES_BIG_ENDIAN): Ditto.
	(WORDS_BIG_ENDIAN): Ditto.
	(FLOAT_WORDS_BIG_ENDIAN): Ditto.
	(ENDIAN_SPEC): New.
	(EXTRA_SPECS): New.
	* config/tilegx/tilegx.md (extv): Handle big endian.
	(extzv): Ditto.
	(insn_st<n>): Ditto.
	(insn_st<n>_add<bitsuffix>): Ditto.
	(insn_stnt<n>): Ditto.
	(insn_stnt<n>_add<bitsuffix>):Ditto.
	(vec_interleave_highv8qi): Handle big endian.
	(vec_interleave_highv8qi_be): New.
	(vec_interleave_highv8qi_le): New.
	(insn_v1int_h): Handle big endian.
	(vec_interleave_lowv8qi): Handle big endian.
	(vec_interleave_lowv8qi_be): New.
	(vec_interleave_lowv8qi_le): New.
	(insn_v1int_l): Handle big endian.
	(vec_interleave_highv4hi): Handle big endian.
	(vec_interleave_highv4hi_be): New.
	(vec_interleave_highv4hi_le): New.
	(insn_v2int_h): Handle big endian.
	(vec_interleave_lowv4hi): Handle big endian.
	(vec_interleave_lowv4hi_be): New.
	(vec_interleave_lowv4hi_le): New.
	(insn_v2int_l): Handle big endian.
	(vec_interleave_highv2si): Handle big endian.
	(vec_interleave_highv2si_be): New.
	(vec_interleave_highv2si_le): New.
	(insn_v4int_h): Handle big endian.
	(vec_interleave_lowv2si): Handle big endian.
	(vec_interleave_lowv2si_be): New.
	(vec_interleave_lowv2si_le): New.
	(insn_v4int_l): Handle big endian.
	* config/tilegx/tilegx.opt (mbig-endian): New option.
	(mlittle-endian): New option.
	* doc/install.texi: Document tilegxbe-linux.
	* doc/invoke.texi: Document -mbig-endian and -mlittle-endian.

From-SVN: r208069
2014-02-24 15:08:00 +00:00
..
aarch64 [AArch64] fix big.LITTLE spec rewriting 2014-01-24 17:14:35 +00:00
alpha Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
arc Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
arm [ARM] fix big.LITTLE spec rewriting 2014-01-27 15:51:42 +00:00
avr Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
bfin Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
c6x Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
cr16 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
cris Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
epiphany Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
fr30 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
frv Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
h8300 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
i386 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
ia64 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
iq2000 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
lm32 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
m32r Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
m68k Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
mcore Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
mep Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
microblaze Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
mips mips-common.c (TARGET_DEFAULT_TARGET_FLAGS): Remove TARGET_FP_EXCEPTIONS_DEFAULT and MASK_FUSED_MADD. 2014-01-27 22:38:42 +00:00
mmix Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
mn10300 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
nds32 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
nios2 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
pa Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
pdp11 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
picochip Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
rs6000 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
rx Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
s390 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
score Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
sh Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
sparc Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
spu Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
tilegx TILE-Gx big endian support. 2014-02-24 15:08:00 +00:00
tilepro Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
v850 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
vax Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
xstormy16 Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
xtensa Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00
default-common.c Update copyright years in gcc/ 2014-01-02 22:23:26 +00:00