发明名称 |
METHOD AND APPARATUS FOR COMPILING |
摘要 |
A compiling apparatus generates a dependency tree representing dependency relations among a plurality of instructions included in first code. The compiling apparatus detects, from the dependency tree, a partial tree including a first instruction, a second instruction, and a third instruction that depends on the operation results of the first and second instructions, and rewrites the instructions corresponding to the partial tree to a set of instructions including a plurality of complex instructions each of which causes a processor to perform a complex operation including a plurality of operations. The compiling apparatus generates second code on the basis of the dependency tree and the set of instructions. |
申请公布号 |
US2015220315(A1) |
申请公布日期 |
2015.08.06 |
申请号 |
US201514590164 |
申请日期 |
2015.01.06 |
申请人 |
FUJITSU LIMITED |
发明人 |
Chiba Shuichi |
分类号 |
G06F9/45;G06F9/30 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
1. A non-transitory computer-readable medium storing therein a compiling program that causes a computer to execute a process comprising:
generating a dependency tree representing dependency relations among a plurality of instructions included in first code; detecting a partial tree from the dependency tree, and rewriting instructions corresponding to the partial tree to a set of instructions, the instructions corresponding to the partial tree including a first instruction, a second instruction, and a third instruction, the third instruction depending on operation results of the first instruction and the second instruction, the set of instructions including a plurality of complex instructions each causing a processor to perform a complex operation that includes a plurality of operations; and generating second code based on the dependency tree and the set of instructions. |
地址 |
Kawasaki-shi JP |