Go to file
Richard Sandiford 07ce146666 Rework subreg_get_info
This isn't intended to change the behaviour, just rewrite the
existing logic in a different (and hopefully clearer) way.
The new form -- particularly the part based on the "block"
concept -- is easier to convert to polynomial sizes.

gcc/
2016-11-15  Richard Sandiford  <richard.sandiford@arm.com>
	    Alan Hayward  <alan.hayward@arm.com>
	    David Sherwood  <david.sherwood@arm.com>

	* rtlanal.c (subreg_get_info): Use more local variables.
	Remark that for HARD_REGNO_NREGS_HAS_PADDING, each scalar unit
	occupies at least one register.  Assume that full hard registers
	have consistent endianness.  Share previously-duplicated if block.
	Rework the main handling so that it operates on independently-
	addressable YMODE-sized blocks.  Use subreg_size_lowpart_offset
	to check lowpart offsets, without trying to find an equivalent
	integer mode first.  Handle WORDS_BIG_ENDIAN != REG_WORDS_BIG_ENDIAN
	as a final register-endianness correction.

Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>

From-SVN: r242758
2016-11-23 14:35:14 +00:00
boehm-gc config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
config config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
contrib Add BZ marker to recent commit 2016-10-25 09:02:32 -06:00
fixincludes Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
gcc Rework subreg_get_info 2016-11-23 14:35:14 +00:00
gnattools
gotools
include libiberty: Add Rust symbol demangling. 2016-11-16 23:09:27 +00:00
INSTALL
intl config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libada config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libatomic config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libbacktrace config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libcc1 Add SET_DECL_MODE 2016-11-18 10:03:12 +00:00
libcilkrts config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libcpp system.h (HAVE_DESIGNATED_INITIALIZERS, [...]): Do not use "defined" in macros. 2016-11-23 10:06:07 +00:00
libdecnumber config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libffi config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libgcc Protect __TMC_END__ - __TMC_LIST__ == 0 2016-11-20 13:35:27 +00:00
libgfortran re PR libfortran/51119 (MATMUL slow for large matrices) 2016-11-16 21:54:25 +00:00
libgo re PR go/77910 (go: open zversion.go: no such file or directory) 2016-11-22 21:04:27 +00:00
libgomp Remove build dependence on HSA run-time 2016-11-23 13:27:13 +01:00
libiberty libiberty: Add Rust symbol demangling. 2016-11-16 23:09:27 +00:00
libitm config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libmpx config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libobjc config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
liboffloadmic config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libquadmath config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libsanitizer Add PR sanitizer/78267 patch to libsanitizer/LOCAL_PATCHES 2016-11-20 10:51:53 +00:00
libssp config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libstdc++-v3 Makefile.in ($(lang_checks_parallelized)): Fix detection of -j argument. 2016-11-22 17:33:43 +01:00
libvtv config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
lto-plugin config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
maintainer-scripts
zlib config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ChangeLog MAINTAINERS (Write After Approval): Add myself. 2016-11-18 16:34:13 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
config.guess
config.rpath
config.sub
configure config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
configure.ac config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
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 MAINTAINERS (Write After Approval): Add myself. 2016-11-18 16:34:13 +00:00
Makefile.def Makefile.def: Remove references to GCJ. 2016-11-15 17:29:12 +00:00
Makefile.in Makefile.def: Remove references to GCJ. 2016-11-15 17:29:12 +00:00
Makefile.tpl Makefile.def: Remove references to GCJ. 2016-11-15 17:29:12 +00:00
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.