Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Published on
Register Allocation 在編譯器後端是個相當重要的階段,其結果將直接影響最終程式的效能以及大小,而 Register Allocation 在 GCC 中一直是個難以對付的東西,所幸近年來有 Red Hat 的高手將其改善,於 GCC 4.4 時將原本的Local/Global 兩階段 RA,轉換為 IRA,並且在 GCC 4.8 時LRA 正式上路,預計將慢慢取代 GCC 中數一數二複雜的Reload,而本報告中從基礎的 Graph Coloring-based Register Allocation 的理論介紹,並將其對應回目前GCC IRA/LRA 的實作,一探其運作原理。
Be the first to comment