r255348 - in /trunk/gcc: ChangeLog final.c

segher@gcc.gnu.org segher@gcc.gnu.org
Sat Dec 2 01:20:00 GMT 2017


Author: segher
Date: Sat Dec  2 01:20:08 2017
New Revision: 255348

URL: https://gcc.gnu.org/viewcvs?rev=255348&root=gcc&view=rev
Log:
final: Improve output for -dp and -fverbose-asm

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.


	* 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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/final.c



More information about the Gcc-cvs mailing list