Register reassignment for mixed-width ISAs is an NP-complete problem

Bor Yeh Shen, Wei Chung Hsu, Wuu Yang

研究成果: Conference contribution同行評審

摘要

Code size is an important issue in many embedded systems. In order to reduce code size, newer embedded RISC processors employ a mixed-width instruction set, where processor architectures support interleaved execution between normal (usually 32-bit) and narrow (usually 16-bit) instructions without explicit mode switch. However, because of the restriction of the encoding length, narrow instructions can only access a limited set of registers. Therefore, for a mixed-width instruction set, proper register allocation can reduce code size. One approach is to re-assign the registers after traditional register allocation. In this paper, we prove that this register reassignment problem is NP-complete by showing that the 0-1 knapsack problem is a special case of this problem. We also propose a method for register reassignment for a mixed-width instruction set with the main goal of code size reduction.

原文English
主出版物標題IMCIC 2010 - International Multi-Conference on Complexity, Informatics and Cybernetics, Proceedings
編輯Jorge Baralt, Michael J. Savoie, Hsing-Wei Chu, C. Dale Zinn, Nagib C. Callaos
發行者International Institute of Informatics and Systemics, IIIS
頁面139-143
頁數5
ISBN(電子)9781934272916
出版狀態Published - 4月 2010
事件International Multi-Conference on Complexity, Informatics and Cybernetics, IMCIC 2010 - Orlando, 美國
持續時間: 6 4月 20109 4月 2010

出版系列

名字IMCIC 2010 - International Multi-Conference on Complexity, Informatics and Cybernetics, Proceedings
1

Conference

ConferenceInternational Multi-Conference on Complexity, Informatics and Cybernetics, IMCIC 2010
國家/地區美國
城市Orlando
期間6/04/109/04/10

指紋

深入研究「Register reassignment for mixed-width ISAs is an NP-complete problem」主題。共同形成了獨特的指紋。

引用此