diff options
author | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-29 21:06:08 +0000 |
---|---|---|
committer | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-29 21:06:08 +0000 |
commit | 6ee2edad5f266217acb48025ad758f8c759a4bc2 (patch) | |
tree | 1a7d2a084ca87df8b177164420d01e13f4a895c0 /gcc/loop-unroll.c | |
parent | a6082de38b410a054ff6a59ac78db6f7d9cc19b5 (diff) | |
download | gcc-6ee2edad5f266217acb48025ad758f8c759a4bc2.tar.gz |
New vectorizer messages; message format change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202088 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index fa0260175d8..ad26f3da174 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -225,7 +225,7 @@ report_unroll_peel (struct loop *loop, location_t locus) && !loop->lpt_decision.times) { dump_printf_loc (report_flags, locus, - "Turned loop into non-loop; it never loops.\n"); + "loop turned into non-loop; it never loops.\n"); return; } @@ -236,13 +236,16 @@ report_unroll_peel (struct loop *loop, location_t locus) else if (loop->header->count) niters = expected_loop_iterations (loop); - dump_printf_loc (report_flags, locus, - "%s loop %d times", - (loop->lpt_decision.decision == LPT_PEEL_COMPLETELY - ? "Completely unroll" - : (loop->lpt_decision.decision == LPT_PEEL_SIMPLE - ? "Peel" : "Unroll")), - loop->lpt_decision.times); + if (loop->lpt_decision.decision == LPT_PEEL_COMPLETELY) + dump_printf_loc (report_flags, locus, + "loop with %d iterations completely unrolled", + loop->lpt_decision.times + 1); + else + dump_printf_loc (report_flags, locus, + "loop %s %d times", + (loop->lpt_decision.decision == LPT_PEEL_SIMPLE + ? "peeled" : "unrolled"), + loop->lpt_decision.times); if (profile_info) dump_printf (report_flags, " (header execution count %d", |