Staas & Halsey LLP
Compiling method and compiling apparatus
A compiling apparatus detects a plurality of branch instructions, each of which specifies execution of branch processing on the basis of a result of a comparison operation between integers and indicates the same jump destination, in a first code. The compiling apparatus converts the plurality of branch instructions into an instruction group having fewer branch instructions than the plurality of branch instructions by using logical and arithmetic instructions. The compiling apparatus generates a second code using the converted instruction group when the number of cycles of processing based on the converted instruction group is smaller than that based on the plurality of branch instructions.
FUJITSU LIMITED
G G G
G06F G06F G06F
inventional inventional inventional
Shuichi Takahiro Tomoko
Chiba Miyoshi Nikko