From 2c2156a714140fee0dcc601fe2567909d4ef7471 Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Fri, 29 Apr 2016 09:20:55 +0000 Subject: [PATCH] S/390: Improve documentation of s390_reload_costs. gcc/ChangeLog: 2016-04-29 Dominik Vogt * config/s390/s390.c (s390_rtx_costs): Update documentation. From-SVN: r235630 --- gcc/ChangeLog | 4 ++++ gcc/config/s390/s390.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 31e32355bce..02b839e0ebf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-04-29 Dominik Vogt + + * config/s390/s390.c (s390_rtx_costs): Update documentation. + 2016-04-29 Andreas Krebbel * 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 155be3c69b0..48b8222bf87 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, -- 2.30.2