diff options
author | Doug Evans <dje@gnu.org> | 1996-04-25 01:45:52 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1996-04-25 01:45:52 +0000 |
commit | 56a38cec99f62a07d3c38574199e274fd5563869 (patch) | |
tree | 7350e804913b90480b38df2378b8d0839b69313e /gcc | |
parent | 5da4dc2c46e0f5fb0bca09f78b044dd450fb2eea (diff) | |
download | gcc-56a38cec99f62a07d3c38574199e274fd5563869.zip gcc-56a38cec99f62a07d3c38574199e274fd5563869.tar.gz gcc-56a38cec99f62a07d3c38574199e274fd5563869.tar.bz2 |
(s_register_operand): Add comment documenting why it exists.
From-SVN: r11884
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/arm/arm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 8d32108..fcb7f83 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -1301,7 +1301,12 @@ neg_const_double_rtx_ok_for_fpu (x) /* Predicates for `match_operand' and `match_operator'. */ /* s_register_operand is the same as register_operand, but it doesn't accept - (SUBREG (MEM)...). */ + (SUBREG (MEM)...). + + This function exists because at the time it was put in it led to better + code. SUBREG(MEM) always needs a reload in the places where + s_register_operand is used, and this seemed to lead to excessive + reloading. */ int s_register_operand (op, mode) |