This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] rs6000: Improve fusion assembler output
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, gcc-patches at gcc dot gnu dot org, dje dot gcc at gmail dot com, meissner at gcc dot gnu dot org
- Date: Fri, 1 Dec 2017 16:53:27 -0600
- Subject: Re: [PATCH] rs6000: Improve fusion assembler output
- Authentication-results: sourceware.org; auth=none
- References: <15d8c743179eaeb9382ea63f183a19a56d4d807b.1512041813.git.segher@kernel.crashing.org> <20171130175452.GA13683@ibm-tiger.the-meissners.org>
On Thu, Nov 30, 2017 at 12:54:53PM -0500, Michael Meissner wrote:
> On Thu, Nov 30, 2017 at 11:59:37AM +0000, Segher Boessenkool wrote:
> > This improves the output for load and store fusion a little. In most
> > cases it removes the comment output, because that makes the generated
> > assembler code hard to read, and equivalent info is available with -dp
> > anyway. For the vector loads it puts the comment on the second insn,
> > where it doesn't interfere with other debug comments.
> >
> > Mike, does this look good? Or is there something I'm missing :-)
> >
> > Tested on powerpc64-linux {-m32,-m64}.
>
> The comment was used by my perl script (analyze-ppc-asm) that looks at .s files
> and prints out statistics. I can adjust the tool so it no longer looks for the
> comment, but actually looks at the adjacent instructions (which I do in a few
> other cases).
Ah okay, thanks! I'll commit the patch then.
Segher