发明名称 |
METHOD AND APPARATUS FOR CONVERTING PROGRAMS |
摘要 |
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. |
申请公布号 |
US2015095897(A1) |
申请公布日期 |
2015.04.02 |
申请号 |
US201414204067 |
申请日期 |
2014.03.11 |
申请人 |
Samsung Electronics Co., Ltd. |
发明人 |
WOO Sang-oak;Jung Seok-yoon;Lee Si-hwa;Laevskiy Igor M.;Talalov Oleg V.;Aranov Vladislav Y. |
分类号 |
G06F9/45 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method of converting a program comprising:
receiving a program; detecting at least one loop statement including at least one branch statement within the program; determining, using at least one processing device, whether the loop statement may be split into 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. |
地址 |
Suwon-si KR |