This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] final: Improve output for -dp and -fverbose-asm
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Jeff Law <law at redhat dot com>
- Cc: Martin Sebor <msebor at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Dec 2017 17:45:10 -0600
- Subject: Re: [PATCH] final: Improve output for -dp and -fverbose-asm
- Authentication-results: sourceware.org; auth=none
- References: <ac47cf30cab2820e22831de664d8d42964705d88.1511996668.git.segher@kernel.crashing.org> <95ff7e21-ca49-b714-cd17-632a30fffb61@gmail.com> <20171130111644.GY10515@gate.crashing.org> <2393c7a7-60a9-29fd-4d0c-49523734201d@gmail.com> <c9d7c0f0-815b-0132-209b-66fc820f319a@redhat.com>
On Thu, Nov 30, 2017 at 05:49:27PM -0700, Jeff Law wrote:
> I think length and costing information are definitely things we want to
> include. Length is less of an issue now than it was in the past, but it
> definitely has value.
At least for risc targets length is usually pretty boring, but this is
not the length of machine insns, RTL insns instead, making it more
insteresting; and when it is wrong it leads to hard to debug problems,
and we don't have this info easily accessible elsewhere. Similar goes
for the insn_cost: if you need to debug it, the -dp output is a very
convenient place to quickly get an overview of what we generate.
Segher