-
公开(公告)号:US09588747B2
公开(公告)日:2017-03-07
申请号:US14204067
申请日:2014-03-11
Applicant: Samsung Electronics Co., Ltd.
Inventor: Sang-oak Woo , Seok-yoon Jung , Si-hwa Lee , Igor M. Laevskiy , Oleg V. Talalov , Vladislav Y. Aranov
IPC: G06F9/45
CPC classification number: G06F8/4441 , G06F8/4443
Abstract: Methods and apparatuses of converting a program, which may enhance an execution speed of a computer program, are provided. The method may include receiving a program, detecting at least one loop statement including at least one branch statement within the program, determining whether the loop statement may be split into at one or more sub-loop statements which perform the same function as a function of the loop statement and from which the branch statement has been removed, splitting the loop statement into the sub-loop statements and removing the branch statement included in the loop statement if it is determined that the loop statement may be split as a result of the determination, and outputting a result of removing the branch statement.
Abstract translation: 提供了可以提高计算机程序的执行速度的转换程序的方法和装置。 该方法可以包括接收程序,检测至少一个循环语句,其包括程序内的至少一个分支语句,确定循环语句是否可以被分割成一个或多个子循环语句,其执行与函数相同的函数 循环语句和分支语句已被删除,将循环语句分解为子循环语句并删除循环语句中包含的分支语句,如果确定循环语句可能由于确定而被拆分 ,并输出删除分支语句的结果。
-
公开(公告)号:US20150095897A1
公开(公告)日:2015-04-02
申请号:US14204067
申请日:2014-03-11
Applicant: Samsung Electronics Co., Ltd.
Inventor: Sang-oak WOO , Seok-yoon Jung , Si-hwa Lee , Igor M. Laevskiy , Oleg V. Talalov , Vladislav Y. Aranov
IPC: G06F9/45
CPC classification number: G06F8/4441 , G06F8/4443
Abstract: Methods and apparatuses of converting a program, which may enhance an execution speed of a computer program, are provided. The method may include receiving a program, detecting at least one loop statement including at least one branch statement within the program, determining whether the loop statement may be split into at one or more sub-loop statements which perform the same function as a function of the loop statement and from which the branch statement has been removed, splitting the loop statement into the sub-loop statements and removing the branch statement included in the loop statement if it is determined that the loop statement may be split as a result of the determination, and outputting a result of removing the branch statement.
Abstract translation: 提供了可以提高计算机程序的执行速度的转换程序的方法和装置。 该方法可以包括接收程序,检测至少一个循环语句,其包括程序内的至少一个分支语句,确定循环语句是否可以被分割成一个或多个子循环语句,其执行与函数相同的函数 循环语句和分支语句已被删除,将循环语句分解为子循环语句并删除循环语句中包含的分支语句,如果确定循环语句可能由于确定而被拆分 ,并输出删除分支语句的结果。
-