发明名称 OPTIMIZING PROGRAM CODE USING BRANCH ELIMINATION
摘要 A method for optimizing program code is provided. The method comprises detecting a branch instruction comprising a condition expression, wherein the branch instruction, when executed by a processor, causes the processor to execute either a first set of instructions or a second set of instructions according to a value of the condition expression; and replacing the branch instruction with a third set of instructions that are non-branching, wherein the third set of instructions, when executed by a processor, has a collective effect same as if either the first or second set of instructions were executed according to the value of the condition expression. The third set of instructions comprises a negation instruction to normalize the value of the condition expression.
申请公布号 US2011078424(A1) 申请公布日期 2011.03.31
申请号 US20090570318 申请日期 2009.09.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BOEHM OMER YEHUDA;HABER GAD;SHAJRAWI YOUSEF
分类号 G06F9/38;G06F9/45 主分类号 G06F9/38
代理机构 代理人
主权项
地址