This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] rs6000: Improve fusion assembler output


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]