发明名称 System and Method for Efficiently Passing Information Between Compiler and Post-Compile-Time Software
摘要 System and method are described for register optimization during code translation utilizes a technique that removes the time overhead for analyzing register usage and eliminates fixed restraints on the compiler register usage. The present invention for register optimization utilizes a compiler to produce a register usage bit vector in a NOP instruction within each basic block (i.e., subroutine, function, and/or procedure). Each bit in the bit vector represents a particular caller-saved register. A bit is set if, at the location of NOP instruction, the compiler uses the corresponding register within that basic block containing the NOP instruction to hold information to be used at a later time. During the translation, the translator examines the register usage bit vector to very quickly determine which registers are free and therefore can be used during the register optimization without the need to save and restore the register values.
申请公布号 US2007226720(A1) 申请公布日期 2007.09.27
申请号 US20070756228 申请日期 2007.05.31
申请人 CHEN DING-KAI;JU DZ-CHING 发明人 CHEN DING-KAI;JU DZ-CHING
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址