“…In addition, we use instruction simplification for the idiom recognition. The earlier version of this article [Kawahito et al 2006] did not include this optimization, but there are some cases in which additional analysis can improve the performance of the converted code by transforming the complex instruction to a less complex instruction by instruction simplification when only a range of the value, such as positiveness or negativeness, is needed. For example, the method compareTo in the String class returns the difference of the two character values of the input strings if they have different characters [Sun Corp. 2006].…”