Go to file
Segher Boessenkool cd68fefbc0 rs6000: Improve comparison rtx_cost (PR81288)
The current rs6000 rtx_cost for comparisons against 0 is very high if
TARGET_ISEL && !TARGET_MFCRF, much higher than for reg-reg comparisons,
much higher than a load of 0 and such a reg-reg-comparison.  This leads
to infinite recursion in CSE (see PR81288).

This patch removes the too-high cost, also simplifying this code.


	PR 81288/target
	* config/rs6000/rs6000.c (rs6000_rtx_costs): Do not handle
	TARGET_ISEL && !TARGET_MFCRF differently.  Simplify code.

From-SVN: r255337
2017-12-01 21:35:52 +01:00
config Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
contrib Handle libbacktrace in contrib/gcc_update 2017-10-02 13:58:11 +02:00
fixincludes Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
gcc rs6000: Improve comparison rtx_cost (PR81288) 2017-12-01 21:35:52 +01:00
gnattools Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
gotools Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
include Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
INSTALL
intl Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libada Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libatomic Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libbacktrace elf.c: Fix typo in the last commit, SFH_COMPRESSED vs SHF_COMPRESSED. 2017-10-10 19:58:49 +00:00
libcc1 Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libcilkrts Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libcpp Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libdecnumber Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libffi Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libgcc Adapt Solaris 12 references 2017-11-21 09:31:12 +00:00
libgfortran backport: re PR libfortran/78549 (Very slow formatted internal file output) 2017-11-23 17:19:18 +00:00
libgo Adapt Solaris 12 references 2017-11-21 09:31:12 +00:00
libgomp backport: re PR c++/81314 (Undefined reference to a function with -fopenmp) 2017-09-15 13:27:07 +02:00
libhsail-rt Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libiberty Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libitm Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libmpx Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libobjc Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
liboffloadmic Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libquadmath Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libsanitizer re PR sanitizer/82595 (bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu) 2017-10-20 10:01:31 +02:00
libssp Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
libstdc++-v3 PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354) 2017-12-01 17:50:59 +00:00
libvtv Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
lto-plugin Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
maintainer-scripts Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
zlib Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ChangeLog Update ChangeLog and version files for release 2017-08-14 07:59:11 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
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.