This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Visualizing RTL dumps using graphviz
- From: Clifford Wolf <clifford at clifford dot at>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 14 Oct 2004 18:47:32 +0200
- Subject: Visualizing RTL dumps using graphviz
Hi,
just fyi: I wrote a little perl script which can be used to visualize the
RTL dumps created with gcc -d? using graphviz:
http://www.clifford.at/cfun/gccfeat/rtl2dot.pl
yours,
- clifford
--
+++>+>++++++[<+++++++>-]<..>++>++++++[<+++++>-]<.>>++++++[<+++++++++++>-]<.
>++>>++++[<++++[<+++++++>-]>-]<<.>+>>++++[<++++[<++++++>-]>-]<<.++++++++.<-
---.>---.<<<<-.>>>>---.<---.<<.<+..>.>>---.>>++++>>++++[<++++[<+++++++>-]>-
]<<..----.<<<--------.<<++++..>>>>>+++++++...<<<<<-.>>>>.<++++.---.>+++..<+
+++++.+++.>--.<<<<.>>>>---.<++.<<<+.>>>>+.++++.---.<----.>>--.<<<<<.>.<----
..>.>+++++++++.>>>>>>++++[<++++[<+++++>-]>-]<<.+++++.<<<<<<+.>.>.>-.--.+++.
>++++++.+++.-------.<++.<<<.>.>>>.>-.<--.<<<<++..>.<---..>>>>>>>++++++++++.
Most of the VAX instructions are in microcode, but HALT and NO-OP are in
hardware for efficiency.