Go to file
Mark Shinwell 93581857e5 mips-modes.def: Add V8QI, V4HI and V2SI modes.
2008-06-15  Mark Shinwell  <shinwell@codesourcery.com>
	    Nathan Sidwell  <nathan@codesourcery.com>
	    Maxim Kuvyrkov  <maxim@codesourcery.com>
	    Richard Sandiford  <rdsandiford@googlemail.com>
	
	* config/mips/mips-modes.def: Add V8QI, V4HI and V2SI modes.
	* config/mips/mips-protos.h (mips_expand_vector_init): New.
	* config/mips/mips-ftypes.def: Add function types for Loongson-2E/2F
	builtins.
	* config/mips/mips.c (mips_split_doubleword_move): Handle new modes.
	(mips_hard_regno_mode_ok_p): Allow 64-bit vector modes for Loongson.
	(mips_vector_mode_supported_p): Add V2SImode, V4HImode and
	V8QImode cases.
	(LOONGSON_BUILTIN, LOONGSON_BUILTIN_ALIAS): New.
	(CODE_FOR_loongson_packsswh, CODE_FOR_loongson_packsshb,
	(CODE_FOR_loongson_packushb, CODE_FOR_loongson_paddw,
	(CODE_FOR_loongson_paddh, CODE_FOR_loongson_paddb,
	(CODE_FOR_loongson_paddsh, CODE_FOR_loongson_paddsb)
	(CODE_FOR_loongson_paddush, CODE_FOR_loongson_paddusb)
	(CODE_FOR_loongson_pmaxsh, CODE_FOR_loongson_pmaxub)
	(CODE_FOR_loongson_pminsh, CODE_FOR_loongson_pminub)
	(CODE_FOR_loongson_pmulhuh, CODE_FOR_loongson_pmulhh)
	(CODE_FOR_loongson_biadd, CODE_FOR_loongson_psubw)
	(CODE_FOR_loongson_psubh, CODE_FOR_loongson_psubb)
	(CODE_FOR_loongson_psubsh, CODE_FOR_loongson_psubsb)
	(CODE_FOR_loongson_psubush, CODE_FOR_loongson_psubusb)
	(CODE_FOR_loongson_punpckhbh, CODE_FOR_loongson_punpckhhw)
	(CODE_FOR_loongson_punpckhwd, CODE_FOR_loongson_punpcklbh)
	(CODE_FOR_loongson_punpcklhw, CODE_FOR_loongson_punpcklwd): New.
	(mips_builtins): Add Loongson builtins.
	(mips_loongson_2ef_bdesc): New.
	(mips_bdesc_arrays): Add mips_loongson_2ef_bdesc.
	(mips_builtin_vector_type): Handle unsigned versions of vector modes.
	(MIPS_ATYPE_UQI, MIPS_ATYPE_UDI, MIPS_ATYPE_V2SI, MIPS_ATYPE_UV2SI)
	(MIPS_ATYPE_V4HI, MIPS_ATYPE_UV4HI, MIPS_ATYPE_V8QI, MIPS_ATYPE_UV8QI):
	New.
	(mips_expand_vector_init): New.
	* config/mips/mips.h (HAVE_LOONGSON_VECTOR_MODES): New.
	(TARGET_CPU_CPP_BUILTINS): Define __mips_loongson_vector_rev
	if appropriate.
	* config/mips/mips.md: Add unspec numbers for Loongson
	builtins.  Include loongson.md.
	(MOVE64): Include Loongson vector modes.
	(SPLITF): Include Loongson vector modes.
	(HALFMODE): Handle Loongson vector modes.
	* config/mips/loongson.md: New.
	* config/mips/loongson.h: New.
	* config.gcc: Add loongson.h header for mips*-*-* targets.
	* doc/extend.texi (MIPS Loongson Built-in Functions): New.

2008-06-15  Mark Shinwell  <shinwell@codesourcery.com>

	* lib/target-supports.exp (check_effective_target_mips_loongson): New.
	* gcc.target/mips/loongson-simd.c: New.

Co-Authored-By: Maxim Kuvyrkov <maxim@codesourcery.com>
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>

From-SVN: r136800
2008-06-15 06:29:06 +00:00
boehm-gc
config tls.m4: Fix typos. 2008-06-11 11:57:11 +02:00
contrib
fixincludes Update the copyright years and put the licensing text directly into the template file. 2008-06-08 16:22:00 +00:00
gcc mips-modes.def: Add V8QI, V4HI and V2SI modes. 2008-06-15 06:29:06 +00:00
gnattools MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
include
INSTALL
intl
libada
libcpp re PR preprocessor/36479 (Short buffer in libcpp) 2008-06-12 10:03:41 -07:00
libdecnumber dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined. 2008-06-11 00:43:09 +01:00
libffi MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
libgcc tls.m4: Fix typos. 2008-06-11 11:57:11 +02:00
libgfortran re PR libfortran/36538 (namelist failure with tabs preceding object name) 2008-06-14 04:30:48 +00:00
libgomp omp_lib.f90.in: Add "implicit none". 2008-06-12 14:15:29 +02:00
libiberty
libjava MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
libmudflap re PR other/35457 (Error building GCC trunk on CELL SPU) 2008-04-18 10:28:53 +00:00
libobjc exception.c (PERSONALITY_FUNCTION): Remove extra decrement if HAVE_GETIPINFO is not defined. 2008-06-14 12:58:22 +02:00
libssp
libstdc++-v3 stl_deque.h (deque<>::push_back(_Args&&...), [...]): Remove. 2008-06-13 12:03:13 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog configure.ac: Add powerpc*-*-* to gold supported targets. 2008-06-12 13:13:12 -04:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.ac: Add powerpc*-*-* to gold supported targets. 2008-06-12 13:13:12 -04:00
configure.ac configure.ac: Add powerpc*-*-* to gold supported targets. 2008-06-12 13:13:12 -04:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
depcomp top level: 2005-06-13 08:26:05 +00:00
install-sh
libtool-ldflags
libtool.m4 backport: Deal with Autoconf 2.62's semantic change in m4_append. 2008-03-16 06:47:18 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
Makefile.def re PR tree-optimization/36218 (VRP causes stack overflow while building libgcj) 2008-06-08 17:14:33 +01:00
Makefile.in re PR tree-optimization/36218 (VRP causes stack overflow while building libgcj) 2008-06-08 17:14:33 +01:00
Makefile.tpl re PR tree-optimization/36218 (VRP causes stack overflow while building libgcj) 2008-06-08 17:14:33 +01:00
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.