aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2014-09-22 07:36:51 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-09-22 07:36:51 +0000
commit0cb07998ae317e89dbf9695db731bfc8aa5f9d41 (patch)
treee628812b6b8bd37be67d38a58cf45d98de1a1770 /gcc/rtl.h
parent853d50d3c82212fee406279c386cef1673adfbc3 (diff)
downloadgcc-0cb07998ae317e89dbf9695db731bfc8aa5f9d41.zip
gcc-0cb07998ae317e89dbf9695db731bfc8aa5f9d41.tar.gz
gcc-0cb07998ae317e89dbf9695db731bfc8aa5f9d41.tar.bz2
rtl.h (subreg_info): Expand commentary
gcc/ * rtl.h (subreg_info): Expand commentary * rtlanal.c (subreg_get_info): Likewise. From-SVN: r215447
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index e919aae..93df691 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2875,10 +2875,13 @@ struct subreg_info
{
/* Offset of first hard register involved in the subreg. */
int offset;
- /* Number of hard registers involved in the subreg. */
+ /* Number of hard registers involved in the subreg. In the case of
+ a paradoxical subreg, this is the number of registers that would
+ be modified by writing to the subreg; some of them may be don't-care
+ when reading from the subreg. */
int nregs;
/* Whether this subreg can be represented as a hard reg with the new
- mode. */
+ mode (by adding OFFSET to the original hard register). */
bool representable_p;
};