[pypy-svn] r63452 - pypy/extradoc/talk/icooolps2009

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Mar 31 17:06:43 CEST 2009


Author: cfbolz
Date: Tue Mar 31 17:06:40 2009
New Revision: 63452

Modified:
   pypy/extradoc/talk/icooolps2009/paper.tex
Log:
made this into a figure too


Modified: pypy/extradoc/talk/icooolps2009/paper.tex
==============================================================================
--- pypy/extradoc/talk/icooolps2009/paper.tex	(original)
+++ pypy/extradoc/talk/icooolps2009/paper.tex	Tue Mar 31 17:06:40 2009
@@ -357,15 +357,19 @@
 \texttt{bytecode} argument is a string of bytes and all register and the
 accumulator are integers. A simple program for this interpreter that computes
 the square of the accumulator is shown in Figure \ref{fig:square}. If the
-tracing interpreter traces the execution of the \texttt{DECR\_A} opcode (whose integer value is 7), the
-trace would look as follows:
-\input{code/normal-tracing.txt}
-
+tracing interpreter traces the execution of the \texttt{DECR\_A} opcode (whose
+integer value is 7), the trace would look as in Figure \ref{fig:trace-normal}.
 Because of the guard on \texttt{opcode0}, the code compiled from this trace will
 be useful only when executing a long series of \texttt{DECR\_A} opcodes. For all
 the other operations the guard will fail, which will mean that performance is
 probably not improved at all.
 
+\begin{figure}
+\input{code/normal-tracing.txt}
+\caption{Trace when executing the \texttt{DECR\_A} opcode}
+\label{fig:trace-normal}
+\end{figure}
+
 % YYY: (anto) I reviewd until here
 
 To improve this situation, the tracing JIT could trace the execution of several



More information about the Pypy-commit mailing list