This is the mail archive of the
mailing list for the GCC project.
r242758 - in /trunk/gcc: ChangeLog rtlanal.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 23 Nov 2016 14:35:15 -0000
- Subject: r242758 - in /trunk/gcc: ChangeLog rtlanal.c
Date: Wed Nov 23 14:35:14 2016
New Revision: 242758
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.
2016-11-15 Richard Sandiford <firstname.lastname@example.org>
Alan Hayward <email@example.com>
David Sherwood <firstname.lastname@example.org>
* 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.