diff options
author | Dominik Vogt <vogt@linux.vnet.ibm.com> | 2016-04-29 09:20:55 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2016-04-29 09:20:55 +0000 |
commit | 2c2156a714140fee0dcc601fe2567909d4ef7471 (patch) | |
tree | db03b1452cdc3d87c1254c2683797d0fd88aa095 | |
parent | 509063ebd1859c83df189ac0df52ada49c75ba31 (diff) | |
download | gcc-2c2156a714140fee0dcc601fe2567909d4ef7471.zip gcc-2c2156a714140fee0dcc601fe2567909d4ef7471.tar.gz gcc-2c2156a714140fee0dcc601fe2567909d4ef7471.tar.bz2 |
S/390: Improve documentation of s390_reload_costs.
gcc/ChangeLog:
2016-04-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
* config/s390/s390.c (s390_rtx_costs): Update documentation.
From-SVN: r235630
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/s390/s390.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 31e3235..02b839e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-04-29 Dominik Vogt <vogt@linux.vnet.ibm.com> + + * config/s390/s390.c (s390_rtx_costs): Update documentation. + 2016-04-29 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/2964.md ("z13_unit_fxu", "z13_0"): Remove lder. diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 155be3c..48b8222 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -3370,8 +3370,10 @@ s390_memory_move_cost (machine_mode mode ATTRIBUTE_UNUSED, /* Compute a (partial) cost for rtx X. Return true if the complete cost has been computed, and false if subexpressions should be - scanned. In either case, *TOTAL contains the cost result. - OUTER_CODE contains the code of the superexpression of x. */ + scanned. In either case, *TOTAL contains the cost result. The + initial value of *TOTAL is the default value computed by + rtx_cost. It may be left unmodified. OUTER_CODE contains the + code of the superexpression of x. */ static bool s390_rtx_costs (rtx x, machine_mode mode, int outer_code, |