From: Eliot M. <mo...@cs...> - 2005-11-29 13:39:20
|
Ben -- See OPT_BC2IR.java in rvm/src/vm/compilers/optimizing/ir/conversion/bc2hir. In it, the ifeq specifically checks for certain things immediately preceding it, including dcmpl, and translates to a specific internal operator. Now why the other form optimizes better is not clear, except it could be that later code generator patterns or optimizations are there for int compares but not for double ones. Dave Grove might more readily answer that :-). -- Eliot |