diff mbox

S/390: Improve documentation of s390_reload_costs.

Message ID 20160427075316.GB5082@linux.vnet.ibm.com
State New
Headers show

Commit Message

Dominik Vogt April 27, 2016, 7:53 a.m. UTC
The attached patch improves some S/390 function documentation.

Ciao

Dominik ^_^  ^_^

Comments

Andreas Krebbel April 29, 2016, 9:23 a.m. UTC | #1
On 04/27/2016 09:53 AM, Dominik Vogt wrote:
> The attached patch improves some S/390 function documentation.

Applied. Thanks!

-Andreas-
diff mbox

Patch

From ba5a56e03402a75bb0cc807eb27c57d93ce736e1 Mon Sep 17 00:00:00 2001
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
Date: Thu, 14 Apr 2016 14:59:40 +0100
Subject: [PATCH] S/390: Improve documentation of s390_reload_costs.

---
 gcc/config/s390/s390.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 4f219be..cb5dd5f 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -3371,8 +3371,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.3.0