发明授权
- 专利标题: Controlling compiler optimizations
- 专利标题(中): 控制编译器优化
-
申请号: US12607198申请日: 2009-10-28
-
公开(公告)号: US08429635B2公开(公告)日: 2013-04-23
- 发明人: Steven Joseph Branda , John Joseph Stecher
- 申请人: Steven Joseph Branda , John Joseph Stecher
- 申请人地址: US NY Armonk
- 专利权人: International Buisness Machines Corporation
- 当前专利权人: International Buisness Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Owen J. Gamon
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
In an embodiment, a conditional branch is detected that selects between execution of a first alternative block and a second alternative block. A first count and a second count are saved, where the first count is a number of times the first alternative block was executed, and the second count is a number of times the second alternative block was executed. If the first count is greater than a threshold and the second count equals zero, the first alternative block is compiled into first alternative block object code and the second alternative block is not compiled. If the first count is not greater than the threshold, the first alternative block is compiled into the first alternative block object code and the second alternative block is compiled into second alternative block object code.
公开/授权文献
- US20110099542A1 Controlling Compiler Optimizations 公开/授权日:2011-04-28
信息查询