发明名称 Method and apparatus for optimising computer program code
摘要 A method and apparatus for optimizing computer program code. The method comprises identifying at least one set of candidate instructions within the computer program code, each candidate instruction comprising an instruction for writing a constant value to memory and the at least one set comprising a plurality of candidate instructions. The method further comprises computing an aggregate constant value for the at least one set of candidate instructions, and replacing the at least one set of candidate instructions with at least one instruction for writing the aggregate constant value to memory.
申请公布号 US9436450(B2) 申请公布日期 2016.09.06
申请号 US201414531024 申请日期 2014.11.03
申请人 FREESCALE SEMICONDUCTOR, INC. 发明人 Oprea Mihai Daniel;Arbone Ciprian;Ditu Bogdan Florin
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项 1. A method of optimising computer program code, the method comprising: identifying at least one set of candidate instructions within the computer program code, each candidate instruction comprising an instruction for writing a constant value to memory and the at least one set comprising a plurality of candidate instructions; checking the validity of aggregating candidate instructions by checking whether the candidate instructions have volatile operands: computing an aggregate constant value for the at least one set of candidate instructions in response to the candidate instructions not having volatile operands; and replacing the at least one set of candidate instructions with at least one instruction for writing the aggregate constant value to memory.
地址 Austin TX US