发明名称 METHOD FOR COMPILING CONDITIONAL BRANCH COMMAND
摘要 PURPOSE: A conditional branch command compiling method is provided to improve an average program execution speed by using a branch mis-prediction ratio and a branch mis-prediction penalty in the case that a source program is converted into a target program. CONSTITUTION: The method comprises steps of selecting a target compile block(S200), determining if the selected block has a flow control statement including a logical operation conditional statement(S210), calculating execution times(T1,T2) of target commands generated by a 1st compiler and a 2nd compiler(S220), comparing the execution times(T1,T2) of the target commands(S230), controlling the 2nd compiler to compile the source commands if the T1 is larger than the T2(S240), controlling the 1st compiler to compile the source commands if the T1 is larger than the T2 or if the selected block has not a flow control statement(S250), and then determining if compile source commands remain(S260).
申请公布号 KR20010019180(A) 申请公布日期 2001.03.15
申请号 KR19990035462 申请日期 1999.08.25
申请人 SAMSUNG ELECTRONICS CO., LTD. 发明人 KOO, GYEONG HUN
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址