Mercurial > hg > Papers > 2015 > kaito-lola
changeset 6:a780e089f357
slide
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 02 Jul 2015 01:21:02 +0900 |
parents | ac2ec4334d49 |
children | 117760bfcae9 |
files | presentation/presen.html |
diffstat | 1 files changed, 64 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/presentation/presen.html Wed Jul 01 23:29:41 2015 +0900 +++ b/presentation/presen.html Thu Jul 02 01:21:02 2015 +0900 @@ -602,7 +602,6 @@ <div class='slide'> <h2>Compiling result</h2> - <p>Tail Call Elimination が強制されているかどうかをアセンブリコードから判断する.</p> <table width='100%' align='center' border='1'> <tr> <td valign='top'> @@ -640,19 +639,78 @@ </div> <div class='slide'> + <h2>Execution Result</h2> + <ul> + <li>Conv1 program. + <ul> + <li>Repeat calculation program. + <li>Stack is defined in the program. + </ul> + <li>Select execution code by arguments. + <ul> + <li>1: not optimized. + <li>2,3: optimized stack operation. + </ul> + <li>Inline optimization is omitted. + </ul> + <table width='80%' align='center' border='1'> + <tr> + <td width='30%'> + <td>Argument 1 + <td>Argument 2 + <td>Argument 3 + </tr> + <tr> + <td>Micro-C + <td>6.875 + <td>2.4562 + <td>3.105 + </tr> + <tr> + <td>GCC -O2 + <td>2.9438 + <td>0.955 + <td>1.265 + </tr> + <tr> + <td>LLVM and Clang -O0 + <td>5.835 + <td>4.1887 + <td>5.0625 + </tr> + <tr> + <td>LLVM and Clang -O2 + <td>3.3875 + <td>2.29 + <td>2.5087 + </tr> + </table> + <table width='80%' align='center' border='0'> + <tr><td align='right'>unit : seconds</tr> + </table> + <ul> + <li>LLVM and Clang compilers are faster than Micro-C when optimize is enabled. + <li>CbC gets benefits from LLVM optimizations. + <li>LLVM can compile CbC examples. + </ul> + </div> + + <div class='slide'> <h2>Conclusion</h2> <ul> - <li>CbC compiler on LLVM and Clang was implemented. - <li>LLVM IR was not modified. - <li> + <li>CbC compiler on LLVM and Clang is implemented. + <li>LLVM IR is not modified. + <li>goto with environment is implemented by setjmp and longjmp. + <li>Automatic prototype generating. </ul> </div> <div class='slide'> <h2>Future works</h2> <ul> - <li>Operating system - <li>superset language + <li>Write operating system in CbC. + <li>Meta computation syntax. + <li>Automitic data segment generator. </ul> </div>