Mercurial > hg > Papers > 2012 > nobu-thesis
diff presen/presentation.html @ 39:a6540714dda9 draft
modify presen
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 28 Feb 2012 20:01:28 +0900 |
parents | bbebd829c423 |
children | ad0ab1378ae6 |
line wrap: on
line diff
--- a/presen/presentation.html Tue Feb 28 05:28:59 2012 +0900 +++ b/presen/presentation.html Tue Feb 28 20:01:28 2012 +0900 @@ -28,18 +28,14 @@ <title>Continuation based C の <br> GCC 4.6による実装</title> <!-- Styles --> - <link rel="stylesheet" media="print" href="file:///Library/Python/2.7/site-packages/landslide-1.0.1-py2.7.egg/landslide/themes/default/css/print.css"> - <link rel="stylesheet" media="screen, projection" href="file:///Library/Python/2.7/site-packages/landslide-1.0.1-py2.7.egg/landslide/themes/tango/css/screen.css"> - + <link rel="stylesheet" media="print" href="theme/css/print.css"> + <link rel="stylesheet" media="screen, projection" href="theme/css/screen.css"> - - <link rel="stylesheet" href="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/presen.css"> - <!-- /Styles --> <!-- Javascripts --> - <script type="text/javascript" src="file:///Library/Python/2.7/site-packages/landslide-1.0.1-py2.7.egg/landslide/themes/default/js/slides.js"></script> + <script type="text/javascript" src="theme/js/slides.js"></script> <!-- /Javascripts --> @@ -52,7 +48,7 @@ </div> <div class="slides"> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -70,17 +66,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 1/22 + 1/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide has_notes"> <div class="inner"> @@ -88,7 +84,7 @@ <header><h2>研究目的</h2></header> - <section><p class="notes">plop</p> + <section><p class="notes"></p> <li><font color=red size=5em>状態遷移記述をベースとしたより細かい単位でのプログラミングを実現する</font></li> <ul> @@ -112,17 +108,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 2/22 + 2/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -142,7 +138,7 @@ <table width=100% border=1> <tr> <td style="margin-left:auto; margin-right: auto; text-align: center; width:50%" > - <img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/codesegment.png" style="width:100%"> + <img src="./pix/codesegment.png" style="width:100%"> </td> <td> <pre style="margin-left:5%"> @@ -166,17 +162,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 3/22 + 3/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -207,7 +203,7 @@ </tr> <t> <td style="margin-left:auto; margin-right: auto; text-align: center;"> - <img class="scale" src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/func_call.png" style="height: 18em;"> + <img class="scale" src="./pix/func_call.png" style="height: 18em;"> </td> <td style="margin-left:auto; margin-right: auto; text-align: center;"> <img class="scale" src="./pix/cs_stack.png" style="height: 18em;"> @@ -225,17 +221,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 4/22 + 4/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -289,17 +285,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 5/22 + 5/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -313,7 +309,7 @@ <table width=100%> <caption>GCC のアセンブラ言語出力までの流れ</caption> <td style="margin:auto; text-align:center;"> - <img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/ir.png" style="height:15em"> + <img src="./pix/ir.png" style="height:15em"> </td> </table> <li>ソースコードはアセンブラに変換される間に 4 つのデータ構造に変換される。</li> @@ -329,17 +325,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 6/22 + 6/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -372,7 +368,7 @@ }</pre> </td> <td> - <img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/continuation.png" style="height:80%;"> + <img src="./pix/continuation.png" style="height:80%;"> </td> </tr> </table></section> @@ -387,17 +383,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 7/22 + 7/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -430,17 +426,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 8/22 + 8/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -471,17 +467,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 9/22 + 9/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -496,7 +492,7 @@ <caption>各コンパイラにより生成されたプログラムの速度比較</caption> <tr> <td style="margin:auto; text-align:center;"> - <img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/conv1_for_resume.png" style="height:15em"> + <img src="./pix/conv1_for_resume.png" style="height:15em"> </td> <td> <img src="./pix/conv1_mac_for_presen.png" style="height:15em"> @@ -524,17 +520,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 10/22 + 10/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -554,20 +550,20 @@ <tr> <td width=50%> <pre style="margin-left:5%"> -void func(){ +void func_b(){ A; B; } -int main() { - func(); - func(); +void func_a() { + func_b(); + func_b(); } </pre> </td> <td> <pre style="margin-left:5%"> -int main() { +void func_a() { A; B; A; @@ -577,7 +573,7 @@ </td> </tr> </table> -<li>func の呼び出しがなくなっている。</li></section> +<li>func_b の呼び出しがなくなっている。</li></section> </div> <div class="presenter_notes"> @@ -589,17 +585,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 11/22 + 11/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -616,7 +612,7 @@ </tr> <tr> <td style="margin:auto; text-align:center;"> - <img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/state_conv1_noopt.png" style="width:65%;"> + <img src="./pix/state_conv1_noopt.png" style="width:65%;"> </td> <td style="margin:auto; text-align:center;"> <img src="./pix/state_conv1_45.png" style="width:65%;"> @@ -642,17 +638,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 12/22 + 12/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -676,17 +672,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 13/22 + 13/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -697,7 +693,7 @@ <section><ul> <li>今回 CbC-GCC を GCC-4.6 へとアップデートを行った。</li> <li>アップデートにより、よりよいコードを生成する CbC のコンパイラを用意することができた。</li> -<li>また、最適化の強制付与やといった実装の修正も行えた。</li> +<li>また、最適化の強制付与といった実装の修正も行えた。</li> <li>細かな実装を除けば, CbC-GCC は今後 GCC のアップデートに合わせていくだけとなる。</li> </ul> <h2>今後の課題</h2> @@ -716,17 +712,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 14/22 + 14/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -737,7 +733,7 @@ <section><p><table width=100%> <caption>インライン展開無しの conv1 プログラム実行結果</caption> <td style="text-align:center;"> -<img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/fno_inline.png"> +<img src="./pix/fno_inline.png"> </td> </table></p></section> @@ -751,17 +747,103 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 15/22 + 15/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> + <div class="slide-wrapper"> + <div class="slide"> + <div class="inner"> + + <header><h1>conv1 プログラム</h1></header> + + + <section><p><li>性能評価で用いた conv1 プログラムの C 版</li> +<pre style="width:5%;" border=1> +f0(int i) { + int k,j; + k = 3+i; + j = g0(i+3); + return k+4+j; +} +g0(int i) { + return h0(i+4)+i; +} +h0(int i) { + return i+4; +}</pre> +<li>性能評価はこのプログラムを CbC へと書き換えて行なっている。</li></p></section> + + </div> + <div class="presenter_notes"> + <header><h1>Presenter Notes</h1></header> + <section> + + </section> + </div> + <footer> + + <aside class="source"> + Source: <a href="cbc.md">cbc.md</a> + </aside> + + <aside class="page_number"> + 16/24 + </aside> + </footer> + </div> + </div> + + <!-- slide source: cbc.md --> + <div class="slide-wrapper"> + <div class="slide"> + <div class="inner"> + + <header><h1>CbC-GCC のアップデート手法</h1></header> + + + <section><ol> +<li>GCC のソースを入れるリポジトリを用意する。</li> +<li>GCC のリポジトリの中身を全て消し、新しい GCC を入れて新しいファイルは追加、消えたファイルは削除する。</li> +<li>コミット</li> +</ol> + +<h2>CbC-GCC のリポジトリ</h2> +<p><ol> +<li>GCC のソースから pull</li> +<li>merge を行う</li> +<li>衝突のあったファイルを手動でマージする</li> +<li>コミット</li> +</ol></p></section> + + </div> + <div class="presenter_notes"> + <header><h1>Presenter Notes</h1></header> + <section> + + </section> + </div> + <footer> + + <aside class="source"> + Source: <a href="cbc.md">cbc.md</a> + </aside> + + <aside class="page_number"> + 17/24 + </aside> + </footer> + </div> + </div> + + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -800,17 +882,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 16/22 + 18/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -851,17 +933,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 17/22 + 19/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -898,17 +980,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 18/22 + 20/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -924,7 +1006,7 @@ </tr> <tr> <td style="margin:auto; text-align:center;"> - <img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/linux_conv_nofastcall.png" style="height:15em;"> + <img src="./pix/linux_conv_nofastcall.png" style="height:15em;"> </td> </tr> <tr> @@ -946,17 +1028,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 19/22 + 21/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -973,7 +1055,7 @@ <table width=100%> <tr> <td style="margin:auto; text-align:center;"> -<img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/cs_prog.png"> +<img src="./pix/cs_prog.png"> </td> </tr> </table></section> @@ -988,17 +1070,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 20/22 + 22/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -1010,7 +1092,7 @@ <caption>各コンパイラにより生成されたコードの速度比較</caption> <tr> <td style="margin:auto; text-align:center;"> - <img src="file:///Users/aotokage/hg/Papers/2012/nobu-thesis/presen/./pix/O3_conv1_linux.png" style="height:15em"> + <img src="./pix/O3_conv1_linux.png" style="height:15em"> </td> <td> <img src="./pix/O3_conv1_mac.png" style="height:15em"> @@ -1032,17 +1114,17 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 21/22 + 23/24 </aside> </footer> </div> </div> - <!-- slide source: ./cbc.md --> + <!-- slide source: cbc.md --> <div class="slide-wrapper"> <div class="slide"> <div class="inner"> @@ -1122,11 +1204,11 @@ <footer> <aside class="source"> - Source: <a href="./cbc.md">./cbc.md</a> + Source: <a href="cbc.md">cbc.md</a> </aside> <aside class="page_number"> - 22/22 + 24/24 </aside> </footer> </div> @@ -1232,47 +1314,59 @@ <tr id="toc-row-16"> - <th><a href="#slide16">構文の追加</a></th> + <th><a href="#slide16">conv1 プログラム</a></th> <td><a href="#slide16">16</a></td> </tr> <tr id="toc-row-17"> - <th><a href="#slide17">conv1 プログラム</a></th> + <th><a href="#slide17">CbC-GCC のアップデート手法</a></th> <td><a href="#slide17">17</a></td> </tr> <tr id="toc-row-18"> - <th><a href="#slide18">CbC の実装: 環境付き継続</a></th> + <th><a href="#slide18">構文の追加</a></th> <td><a href="#slide18">18</a></td> </tr> <tr id="toc-row-19"> - <th><a href="#slide19">CbC 引数渡し</a></th> + <th><a href="#slide19">conv1 プログラム</a></th> <td><a href="#slide19">19</a></td> </tr> <tr id="toc-row-20"> - <th><a href="#slide20">引数の並びに上書きコピー</a></th> + <th><a href="#slide20">CbC の実装: 環境付き継続</a></th> <td><a href="#slide20">20</a></td> </tr> <tr id="toc-row-21"> - <th><a href="#slide21">最適化の比較</a></th> + <th><a href="#slide21">CbC 引数渡し</a></th> <td><a href="#slide21">21</a></td> </tr> <tr id="toc-row-22"> - <th><a href="#slide22">最適化の比較</a></th> + <th><a href="#slide22">引数の並びに上書きコピー</a></th> <td><a href="#slide22">22</a></td> </tr> + <tr id="toc-row-23"> + <th><a href="#slide23">最適化の比較</a></th> + <td><a href="#slide23">23</a></td> + </tr> + + + <tr id="toc-row-24"> + <th><a href="#slide24">最適化の比較</a></th> + <td><a href="#slide24">24</a></td> + </tr> + + </table> </div>