%0 Conference Proceedings %T A Novel Chaining Approach to Indirect Control Transfer Instructions %+ National University of Defense Technology [China] %A Chen, Wei %A Wang, Zhiying %A Dou, Qiang %A Wang, Yongwen %Z Part 2: Workshop %< avec comité de lecture %( Lecture Notes in Computer Science %B 1st Availability, Reliability and Security (CD-ARES) %C Vienna, Austria %Y A Min Tjoa %Y Gerald Quirchmayr %Y Ilsun You %Y Lida Xu %I Springer %3 Availability, Reliability and Security for Business, Enterprise and Health Information Systems %V LNCS-6908 %P 309-320 %8 2011-08-22 %D 2011 %R 10.1007/978-3-642-23300-5_24 %K code cache %K indirect control transfer instruction %K dynamic chaining %K simulator %Z Computer Science [cs] %Z Humanities and Social Sciences/Library and information sciencesConference papers %X Both dynamic binary translation systems and optimization systems store the translated or optimized code in the software maintained code cache for reuse. The performance of the code cache is crucial. Translated code is usually organized as code blocks in the code cache and each code block transfer control to the next one through a control transfer instruction. As the target address of a control transfer instruction is in the form of its source program counter, the conventional code cache system has to check the address mapping table for the translated target address to find the required target code block, which will cause considerable performance degradation. Control transfer instructions can be divided into two categories as direct control transfer instructions and indirect control transfer instructions. For indirect control transfer instructions, the target address is hold in the register or memory element whose content can be changed during the execution of the program. It is difficult to chain the indirect control transfer instructions with a fixed translated target address through pure software approaches. A novel indirect control transfer chaining approach is proposed in this paper. The principle of the technique is to insert custom chaining instructions into the translated code block while translating the indirect control transfer instructions and execute those chaining instructions to implement dynamical chaining. Some special hardware and software assists are proposed in this paper. Evaluation of the proposed approach is conducted on a code cache simulator. Experiment results show that our hardware assisted indirect control transfer instruction chaining approach can improve the performance of the code cache system dramatically. %G English %Z TC 8 %Z WG 8.4 %Z WG 8.9 %2 https://inria.hal.science/hal-01590412/document %2 https://inria.hal.science/hal-01590412/file/978-3-642-23300-5_24_Chapter.pdf %L hal-01590412 %U https://inria.hal.science/hal-01590412 %~ SHS %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC8 %~ IFIP-CD-ARES %~ IFIP-WG8-4 %~ IFIP-WG8-9 %~ IFIP-LNCS-6908