projects
/
nestedvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tableswitch code
[nestedvm.git]
/
doc
/
nestedvm.ivme04.tex
diff --git
a/doc/nestedvm.ivme04.tex
b/doc/nestedvm.ivme04.tex
index
87be5a3
..
5511fcd
100644
(file)
--- a/
doc/nestedvm.ivme04.tex
+++ b/
doc/nestedvm.ivme04.tex
@@
-409,7
+409,11
@@
switch(pc&0xffffff00) {
\begin{figure}
{\footnotesize\begin{verbatim}
\begin{figure}
{\footnotesize\begin{verbatim}
-Brian, we're missing the code here... can you put it in?
+switch(pc>>>8) {
+ case 0x1: run_100();
+ case 0x2: run_200();
+ case 0x3: run_300();
+}
\end{verbatim}}
\caption{\label{tableswitch} Code which {\it is} optimized into a tableswitch}
\end{figure}
\end{verbatim}}
\caption{\label{tableswitch} Code which {\it is} optimized into a tableswitch}
\end{figure}