# HG changeset patch # User Nobuyasu Oshiro # Date 1339392575 -32400 # Node ID 635448a197ac672e7055c95776a3dc80d31a25b4 # Parent 799ddd893b851cbf8f7f2c6a1c3d1ef979c5a5b1 modify lstlistng diff -r 799ddd893b85 -r 635448a197ac paper/aplas2012.tex --- a/paper/aplas2012.tex Thu Jun 07 19:13:26 2012 +0900 +++ b/paper/aplas2012.tex Mon Jun 11 14:29:35 2012 +0900 @@ -61,11 +61,23 @@ \scalebox{0.35}{\includegraphics{figure/tree2.pdf}} \end{center} \caption{\_\_rectype} - \label{fig:tree1} + \label{fig:tree2} \end{minipage} \end{figure} - +\begin{table}[htpb] +\centering +\small +\begin{tabular}{|l|r|r|r|} \hline +(unit: s) & ./conv1 1 & ./conv1 2 & ./conv1 3 \\ \hline +Micro-C(32bit) & 9.93 & 6.31 & 7.18 \\ \hline +Micro-C(64bit) & 5.03 & 5.12 & 5.00 \\ \hline \hline +GCC -O3(32bit) & 2.52 & 2.34 & 1.53 \\ \hline +GCC -O3(64bit) & 1.80 & 1.20 & 1.44 \\ \hline +\end{tabular} +\caption{Micro-C, GCC bench mark (in sec)} +\label{tab:mc,gcc,compare} +\end{table} \begin{lstlisting} @@ -79,6 +91,24 @@ \end{lstlisting} +\begin{lstlisting} +struct interface { + __code (*next)(struct interface); +}; + +__code csA(struct interface p) { + struct interface ds = { csB }; + goto p.next(ds); +} + +int main() { + struct interface ds = { print }; + goto csA(ds); + return 0; +} +\end{lstlisting} + + \bibliographystyle{junsrt} \bibliography{cbc}