• 検索結果がありません。

コンパイル速度の向上を目的とした非反復型レジスタ割付け手法

N/A
N/A
Protected

Academic year: 2021

シェア "コンパイル速度の向上を目的とした非反復型レジスタ割付け手法"

Copied!
1
0
0

読み込み中.... (全文を見る)

全文

(1)Vol. 47. No. SIG 11(PRO 30). July 2006. 情報処理学会論文誌:プログラミング. 発表概要. コンパイル速度の向上を目的とした非反復型レジスタ割付け手法 小. 川. 健 一† 小 松. 片 岡 正 樹† 秀 昭†† 深 澤. 古 関 良 彰†. 聰††. 従来のグラフカラーリングを用いたレジスタ割付け手法は非常に有効であるが,スピルごとに反復 しながら干渉グラフを再構築するため,レジスタの少ないアーキテクチャでは計算量が大きくなる. そのため,コンパイル時間が実行時間に含まれるダイナミックコンパイル環境では,レジスタ割付け にグラフカラーリングを適用することは難しかった.スピルごとに干渉グラフを再構築しないナイー ブな方式としては,スピル用のレジスタを同命令で一度に使用されるオペランドの最大数だけリザー ブするというものがあるが,x86 のようなレジスタの少ないアーキテクチャには不向きである.本発 表では,スピルごとに干渉グラフの再構築を行わず,かつリザーブされたレジスタを用いない新しい 手法を提案する.この手法では,スピルされた変数をリザーブされたレジスタに割り当てるかわりに, スピルされていない変数にすでに割り当てられているレジスタを部分的に割り当てる.この操作は干 渉グラフ上でノードの併合として表され,ノードの併合は最もコストが低くなるように行われる.こ のような方式を用いることで,スピル性能と実行速度の両方が高いレジスタ割付けが実現できる.. A Non-iterative Register Allocation Technique for Improving Compilation Speed Kenichi Ogawa,† Masaki Kataoka,† Akira Koseki,†† Hideaki Komatsu†† and Yoshiaki Fukazawa† Although the conventional graph-coloring-based register allocation is very effective, due to restructure the interference graph by repeating at each spill, the computational complexity grows in architecture with few registers. Therefore, it is difficult to apply graph coloring to register allocation in dynamic compilation that the compilation time is included in the execution time. There is a naive technique that the interference graph is not restructured at each spill. This technique is to reserve the register for spill for only maximum number of operands used at same time in an instruction. But, it is not adequate to the architecture with few registers like x86 architecture. We introduce a new register allocation technique that doesn’t restructure the interference graph at each spill and doesn’t use reserved registers. In this technique, instead of allocating the spilled variables to reserved registers, registers that have already been allocated in the non-spilled variables are partially allocated. This operation is shown as coalescing the node on the interference graph, and the node is coalesced so that costs become the lowest. Both the high spill performance and the high speed execution can be achieved by using such this method.. (平成 18 年 1 月 17 日発表). † 早稲田大学大学院理工学研究科 Graduate School of Science Engineering, Waseda University †† 日本 IBM 株式会社東京基礎研究所 Tokyo Research Laboratory, IBM Japan Ltd.. 54.

(2)

参照

関連したドキュメント

(採択) 」と「先生が励ましの声をかけてくれなかった(削除) 」 )と判断した項目を削除すること で計 83

(( .  entrenchment のであって、それ自体は質的な手段( )ではない。 カナダ憲法では憲法上の人権を といい、

となる。こうした動向に照準をあわせ、まずは 2020

(注)

「就労に向けたステップアップ」と設定し、それぞれ目標値を設定した。ここで

「社会福祉法の一部改正」の中身を確認し、H29年度の法施行に向けた準備の一環として新

燃料・火力事業等では、JERA の企業価値向上に向け株主としてのガバナンスをよ り一層効果的なものとするとともに、2023 年度に年間 1,000 億円以上の

Abstract:  Conventional  practice  in  recording  information  on  archaeological  remains  is  to  take