Invention Grant
- Patent Title: Controlling compiler optimizations
- Patent Title (中): 控制编译器优化
-
Application No.: US12607198Application Date: 2009-10-28
-
Publication No.: US08429635B2Publication Date: 2013-04-23
- Inventor: Steven Joseph Branda , John Joseph Stecher
- Applicant: Steven Joseph Branda , John Joseph Stecher
- Applicant Address: US NY Armonk
- Assignee: International Buisness Machines Corporation
- Current Assignee: International Buisness Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Owen J. Gamon
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
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.
Public/Granted literature
- US20110099542A1 Controlling Compiler Optimizations Public/Granted day:2011-04-28
Information query