Go to file
Richard Sandiford 18b526e806 re PR rtl-optimization/33927 (replace_read in dse.c could handle cases where GET_MODE_CLASS (read_mode) != GET_MODE_CLASS (store_mode) (and the size is the same))
gcc/
	PR rtl-optimization/33927
	* Makefile.in (dse.o): Depend on $(TM_P_H).
	* expr.h (extract_low_bits): Declare.
	* expmed.c (extract_low_bits): New function.
	* rtlhooks.c (gen_lowpart_general): Generalize SUBREG handling.
	* dse.c: Include tm_p.h.
	(find_shift_sequence): Remove the read_reg argument and return the
	read value.  Emit the instructions instead of returning them.
	Iterate on new_mode rather than calculating it each time.
	Check MODES_TIEABLE_P.  Use simplify_gen_subreg to convert the
	source to NEW_MODE and extract_low_bits to convert the shifted
	value to READ_MODE.
	(replace_read): Allow the load and store to have different mode
	classes.  Use extract_low_bits when SHIFT == 0.  Create the shift
	or extraction instructions before trying the replacement.  Update
	dump-file code accordingly, avoiding use of REGNO (store_info->rhs).

gcc/testsuite/
	* gcc.target/mips/dse-1.c: Add checks for zeros.

From-SVN: r133452
2008-03-22 19:37:53 +00:00
boehm-gc configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
config configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
contrib patch_tester.sh (initialization): Initialize svnpatch and stop. 2008-03-10 21:33:09 +00:00
fixincludes re PR target/20366 (AIX g++ -D_LARGE_FILES fails to compile #include <iostream>) 2008-03-07 06:53:59 +00:00
gcc re PR rtl-optimization/33927 (replace_read in dse.c could handle cases where GET_MODE_CLASS (read_mode) != GET_MODE_CLASS (store_mode) (and the size is the same)) 2008-03-22 19:37:53 +00:00
gnattools re PR ada/34284 (Missing dynamic library support for GNAT 4.3.0 on x86-*-Darwin8) 2007-12-05 14:34:48 +00:00
include * filenames.h: Add extern "C" when compiled with C++. 2008-03-21 23:35:07 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
intl aclocal.m4: Regenerate. 2008-03-18 06:34:07 +00:00
libada * Makefile.in: Add dummy install-pdf target. 2007-03-01 16:05:13 -08:00
libcpp * vi.po: Update. 2008-03-20 13:55:23 +00:00
libdecnumber decCommonSymbols.h: Commit. 2008-01-25 18:47:12 +00:00
libffi configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
libgcc re PR target/35401 (libstdc++ linked to system /usr/lib/libgcc_s.1.dylib not new gcc4.3 libgcc_s.1.dylib) 2008-03-02 23:06:32 +01:00
libgfortran pack_generic.c: Fix typo. 2008-03-21 21:00:17 +00:00
libgomp re PR middle-end/35611 (FAIL: libgomp.c/omp-nested-1.c execution test) 2008-03-18 13:21:02 +01:00
libiberty cplus-dem.c (malloc, realloc): Use void * instead of char * as return type. 2008-03-13 18:49:45 +00:00
libjava configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
libmudflap common.opt (Wmudflap): New option. 2008-03-20 16:37:47 +00:00
libobjc * configure: Regenerate. 2008-01-24 11:28:13 -05:00
libssp configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
libstdc++-v3 testsuite_abi.cc: Add support for not counting GLIBCXX_LDBL_* compat symbols missing if... 2008-03-21 11:31:11 +00:00
maintainer-scripts * crontab: Add 4.3 branch. Set trunk to 4.4. 2008-02-18 23:49:19 +01:00
zlib configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
ChangeLog configure.ac: Add support for --enable-gold. 2008-03-21 15:40:16 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile compile: Make executable. 2008-02-01 00:06:00 +00:00
config-ml.in config-ml.in: Remove 64bit configure tests. 2007-12-02 13:27:37 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2008-03-13 10:43:12 +11:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 14:55:20 -04:00
config.sub * config.sub, config.guess: Update from upstream sources. 2008-03-13 10:43:12 +11:00
configure configure.ac: Add support for --enable-gold. 2008-03-21 15:40:16 +00:00
configure.ac configure.ac: Add support for --enable-gold. 2008-03-21 15:40:16 +00:00
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING3 COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
COPYING3.LIB COPYING_v3: New file. 2007-07-17 08:37:53 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
depcomp top level: 2005-06-13 08:26:05 +00:00
install-sh COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
libtool-ldflags re PR bootstrap/31906 ("-Xcompiler" is inserted after "-Xlinker" when building libstdc++) 2007-09-20 10:20:05 +00:00
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 lt~obsolete.m4: New. 2007-07-05 10:36:59 -07:00
ltgcc.m4 [multiple changes] 2007-05-31 06:40:42 +00:00
ltmain.sh ltmain.sh: Fix Darwin verstring, remove ${wl}. 2007-05-25 21:26:27 +02:00
ltoptions.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
ltsugar.m4 backport: Deal with Autoconf 2.62's semantic change in m4_append. 2008-03-16 06:47:18 +00:00
ltversion.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
MAINTAINERS MAINTAINERS: Update for treelang deletion. 2008-03-06 17:14:05 +00:00
Makefile.def configure.ac: Add support for --enable-gold. 2008-03-21 15:40:16 +00:00
Makefile.in configure.ac: Add support for --enable-gold. 2008-03-21 15:40:16 +00:00
Makefile.tpl re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) 2008-02-20 14:10:40 +00:00
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep
mkinstalldirs COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00

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.