Find a file
Richard Sandiford 4670abb087 mips-protos.h (mips_split_type): New enum.
gcc/
	* config/mips/mips-protos.h (mips_split_type): New enum.
	(mips_split_64bit_move_p, mips_split_doubleword_move): Delete.
	(mips_split_move_p, mips_split_move, mips_split_move_insn_p)
	(mips_split_move_insn): Declare.
	* config/mips/mips.c (mips_tuning_info): New variable.
	(mips_load_store_insns): Use mips_split_move_insn_p instead of
	mips_split_64bit_move_p.
	(mips_emit_move_or_split, mips_mult_move_p): New functions.
	(mips_split_64bit_move_p): Rename to...
	(mips_split_move_p): ...this and take a mips_split_type argument.
	Generalize to all moves.  Call mips_mult_move_p.
	(mips_split_doubleword_move): Rename to...
	(mips_split_move): ...this and take a mips_split_type argument.
	Assert that mips_split_move_p holds.
	(mips_insn_split_type, mips_split_move_insn_p, mips_split_move_insn):
	New functions.
	(mips_output_move): Use mips_split_move_p instead of
	mips_split_64bit_move_p.  Handle MULT $0, $0 moves.
	(mips_save_reg): Use mips_emit_move_or_split.
	(mips_sim_reset): Assign to curr_state.  Call targetm.sched.init
	and advance_state.
	(mips_sim_init): Call targetm.sched.init_dfa_pre_cycle_insn and
	targetm.sched.init_dfa_post_cycle_insn, if defined.
	(mips_sim_next_cycle): Assign to curr_state.  Use advance_state
	instead of state_transition.
	(mips_sim_issue_insn): Assign to curr_state.  Use
	targetm.sched.variable_issue to see how many more insns
	can be issued.
	(mips_seq_time, mips_mult_zero_zero_cost)
	(mips_set_fast_mult_zero_zero_p, mips_set_tuning_info)
	(mips_expand_to_rtl_hook): New functions.
	(TARGET_EXPAND_TO_RTL_HOOK): Define.
	* config/mips/mips.md (move_type): Add imul.
	(type): Map imul move_types to imul.
	(*movdi_32bit, *movti): Add imul alternatives.
	Use mips_split_move_insn_p and mips_split_move_insn instead of
	mips_split_64bit_move_p and mips_split_doubleword_move in move
	splitters.

gcc/testsuite/
2012-10-07  Richard Sandiford  <rdsandiford@googlemail.com>
	    Sandra Loosemore  <sandra@codesourcery.com>

	* gcc.target/mips/madd-9.c: Force code to be tuned for the 4kc
	and test that the accumulator is initialized using MULT.
	* gcc.target/mips/mips32-dsp-accinit-1.c: New test.
	* gcc.target/mips/mips32-dsp-accinit-2.c: Likewise.

Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>

From-SVN: r192179
2012-10-07 08:45:23 +00:00
boehm-gc * configure: Regenerated. 2012-09-14 19:25:07 -04:00
config mt-sde: Change -mcode-xonly to -mcode-readable=pcrel. 2012-09-19 20:42:01 +00:00
contrib x86_64-unknown-linux-gnu.xfail: Update. 2012-10-06 13:44:39 -04:00
fixincludes inclhack.def (AAB_aix_fcntl): New fix. 2012-09-29 17:02:42 -04:00
gcc mips-protos.h (mips_split_type): New enum. 2012-10-07 08:45:23 +00:00
gnattools Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
include PR other/54411: integer overflow in objalloc_alloc 2012-09-18 10:34:05 +02:00
INSTALL README: Also refer to the online installation instructions. 2012-08-25 20:48:20 +00:00
intl
libada Makefile.in (GNATLIBCFLAGS_FOR_C): Remove $(PIC_FLAG_FOR_TARGET). 2012-06-11 15:24:12 +00:00
libatomic re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due to automake security issue) 2012-09-20 16:41:17 +02:00
libbacktrace * btest.c (f23): Avoid uninitialized variable warning. 2012-10-04 20:16:08 +00:00
libcpp Implement #pragma GCC warning/error 2012-10-04 17:33:11 +02:00
libdecnumber warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. 2011-12-20 16:54:12 +00:00
libffi * configure: Regenerated. 2012-09-14 19:31:56 -04:00
libgcc config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file. 2012-10-05 23:35:55 +00:00
libgfortran Fix usage of secure_getenv with glibc 2.17. 2012-10-06 23:56:05 +03:00
libgo runtime: Use argv[0] to get executable name for backtrace. 2012-10-05 13:44:40 +00:00
libgomp * configure: Regenerated. 2012-09-14 19:33:57 -04:00
libiberty strnlen.c: New file. 2012-09-18 16:03:01 +00:00
libitm target.h (struct gtm_jmpbuf): Merge x86_64 and ia32 declarations some more. 2012-10-02 09:50:36 +02:00
libjava tree-eh.c (goto_queue_node): New field. 2012-09-15 00:41:53 +00:00
libmudflap * configure: Regenerated. 2012-09-14 19:37:57 -04:00
libobjc * configure: Regenerated. 2012-09-14 19:38:45 -04:00
libquadmath * configure: Regenerated. 2012-09-14 19:39:34 -04:00
libssp * configure: Regenerated. 2012-09-14 19:40:25 -04:00
libstdc++-v3 re PR c++/52764 (Including <cstdint> after <stdint.h> fails to define limit macros) 2012-10-06 23:06:04 +00:00
lto-plugin * configure: Regenerated. 2012-09-14 19:42:24 -04:00
maintainer-scripts crontab: Disable snapshots from gcc-4_5-branch. 2012-07-02 09:16:29 +00:00
zlib * configure: Regenerated. 2012-09-14 19:43:33 -04:00
ABOUT-NLS
ChangeLog Correct incomplete diff edit. 2012-10-04 21:27:13 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub Update config.sub to 2012-04-18 version from official repo. 2012-04-25 15:48:28 +00:00
configure Add tilegx to list of targets that support gold. 2012-09-20 19:17:51 +00:00
configure.ac Add tilegx to list of targets that support gold. 2012-09-20 19:17:51 +00:00
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4 re PR bootstrap/38607 (AIX error messages about TOC during build) 2012-09-14 19:23:41 -04:00
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS Add myself to wrote after approval list. 2012-10-04 21:24:32 +00:00
Makefile.def libgo: Use libbacktrace rather than debug/elf registration. 2012-09-28 14:48:30 +00:00
Makefile.in libgo: Use libbacktrace rather than debug/elf registration. 2012-09-28 14:48:30 +00:00
Makefile.tpl backport: As described in http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html... 2012-08-14 21:56:07 -04:00
missing
mkdep
mkinstalldirs
move-if-change
README * README: Document use of ranges of years in copyright notices. 2012-07-16 15:01:34 +01:00
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.