| 1 |
\section{Graphical Interface} |
| 2 |
All the major data structures and intermediate program states can be |
| 3 |
viewed graphically using |
| 4 |
\externhref{http://www.Informatik.Uni-Bremen.DE/~davinci/}{\begin{color}{red}daVinci\end{color}} and |
| 5 |
\externhref{http://www.cs.uni-sb.de/RW/users/sander/html/gsvcg1.html}{\begin{color}{red}vcg\end{color}} |
| 6 |
The following screen dumps are intended to represent the range of |
| 7 |
possibilities. Graphical tools like these are an indispensible |
| 8 |
debugging aid. Each of the dumps below were taken when generating |
| 9 |
code for the \begin{color}{red}mandelbrot\end{color} on the HPPA |
| 10 |
architecture. It will be necessary to make netscape fill the size of |
| 11 |
the screen to view these easily. Even though some of these graphs |
| 12 |
look quite complex, daVinci has several \emph{navigational} modes |
| 13 |
that allow walking to successors, or predecessors, or navigating |
| 14 |
through a scaled down map of the graph. The navigational view is |
| 15 |
shown as another window, and the view into the graph that is being |
| 16 |
displayed is usually outlined in \begin{color}{blue}blue\end{color}. |
| 17 |
|
| 18 |
\begin{description} |
| 19 |
\item[\href{graphics/mandelbrot-opt.gif}{Control Flowgraph after Optimization:}] Each basic block is shown with its dynamic profile and |
| 20 |
code before and after a specific optimization. This view |
| 21 |
saves having to pour through pages of assembly code listings -- |
| 22 |
a tedious and frustrating activity. |
| 23 |
\item[\href{graphics/mandelbrot-ssa.gif}{SSA form:}] |
| 24 |
The generated flow graph is converted to SSA form which |
| 25 |
makes many code improvement optimizations easy and efficient. |
| 26 |
\item[\href{graphics/mandelbrot-ddg.gif}{Data Dependency Graph}] |
| 27 |
A graphical view of the data dependency graph and the various |
| 28 |
kinds of dependencies decorating the edges, provides a useful clue to |
| 29 |
why instructions got rearranged the way they did. The navigational |
| 30 |
view helps to control the complexity in the display. |
| 31 |
\end{description} |