Item type |
Trans(1) |
公開日 |
2022-01-05 |
タイトル |
|
|
タイトル |
RL78マイコン向けCコンパイラにおけるprocedural abstractionの実装 |
タイトル |
|
|
言語 |
en |
|
タイトル |
An Implementation of Procedural Abstraction in a C Compiler for the RL78 Microcontroller |
言語 |
|
|
言語 |
jpn |
キーワード |
|
|
主題Scheme |
Other |
|
主題 |
[通常論文] コンパイラ,最適化,コードサイズ,組込機器 |
資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_6501 |
|
資源タイプ |
journal article |
著者所属 |
|
|
|
株式会社日立製作所 |
著者所属 |
|
|
|
株式会社日立ソリューションズ |
著者所属 |
|
|
|
ルネサスエレクトロニクス株式会社 |
著者所属(英) |
|
|
|
en |
|
|
Hitachi, Ltd. |
著者所属(英) |
|
|
|
en |
|
|
Hitachi Solutions, Ltd. |
著者所属(英) |
|
|
|
en |
|
|
Renesas Electronics Corporation |
著者名 |
千葉, 雄司
永井, 佑樹
久島, 伊知郎
|
著者名(英) |
Yuji, Chiba
Yuki, Nagai
Ichiro, Kyushima
|
論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
組込機器におけるプログラムの主な記録先である,組込マイコンの内蔵フラッシュメモリの容量は限定的である.限定的な容量に収まるよう,プログラムを加工する作業の自動化を目的として,組込マイコン向け言語処理系は,サイズを削減する最適化を提供しており,代表例にprocedural abstractionがある.procedural abstractionはサイズを削減するために,プログラム中に繰返し現れる命令列を集約し,集約元には集約先への関数呼出し命令を配置する.ここで,関数呼出しに際しては副作用が生じるので,副作用への対処法が問題になる.本論文では,RL78マイコンなど,関数呼出しの際に,戻り番地をスタックに積むという副作用が発生するアーキテクチャ向けの対処法を示し,その効果を明らかにする.実用的な組込アプリケーションによる評価の結果,本論文で示す対処法により,サイズを0.95%小さくできることが分かった. |
論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
We often record programs for an embedded machine in the flash memory of a microcontroller, but its capacity is often limited. So, in the development of such programs, size reduction is often in need, but manual reduction is costly. In order to reduce the size automatically, many optimizations have beed invented, and one of them is procedural abstraction. Procedural abstraction reduces the size by summarizing instruction sequence repeatedly apper in the program. Because it uses a call instruction to transfer the control to the summarized instruction sequence, it needs methods to manage the side effects the call instruction causes. In this paper, we present the method for architectures whose call instruction puts the return address on the stack. We implemented our method for one of the architectures, namely the RL78 microcontroller, and evaluated using practical programs to show that our method reduce the code size by 0.95%. |
書誌レコードID |
|
|
収録物識別子タイプ |
NCID |
|
収録物識別子 |
AA11464814 |
書誌情報 |
情報処理学会論文誌プログラミング(PRO)
巻 15,
号 1,
p. 1-10,
発行日 2022-01-05
|
ISSN |
|
|
収録物識別子タイプ |
ISSN |
|
収録物識別子 |
1882-7802 |
出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |