[PATCH] final: Improve output for -dp and -fverbose-asm

Jeff Law law@redhat.com
Fri Dec 1 01:17:00 GMT 2017


On 11/29/2017 04:13 PM, Segher Boessenkool wrote:
> This improves the assembler output (for -dp and -fverbose-asm) in
> several ways.  It always prints the insn_cost.  It does not print
> "[length = NN]" but "[c=NN l=NN]", to save space.  It does not add one
> to the instruction alternative number (everything else starts counting
> those at 0, too).  And finally, it tries to keep things lined up in
> columns a bit better.
> 
> Tested on powerpc64-linux {-m32,-m64}; is this okay for trunk?
> 
> 
> Segher
> 
> 
> 2017-11-29  Segher Boessenkool  <segher@kernel.crashing.org>
> 
> 	* final.c (output_asm_name): Print insn_cost.  Shorten output.  Print
> 	which_alternative instead of which_alternative + 1.
> 	(output_asm_insn): Print an extra tab if the template is short.
OK.
jeff



More information about the Gcc-patches mailing list