Fujitsu Patent Center
Compiling apparatus and compiling method
A memory stores first code that compares a value of a variable with each of three or more comparison values, and that performs branch control in accordance with comparison results. A processor determines a minimum comparison value and a maximum comparison value among the comparison values. The processor converts the first code into second code that compares the value of the variable with the minimum comparison value and the maximum comparison value, and that performs the branch control without performing comparisons with the other comparison values when the value of the variable is less than the minimum comparison value or greater than the maximum comparison value.
FUJITSU LIMITED
G G
G06F G06F
inventional inventional
Takahiro Shuichi
Miyoshi Chiba