diff -r e69a66a1457b -r d8cb48376797 src/share/vm/opto/matcher.hpp --- a/src/share/vm/opto/matcher.hpp Tue Oct 25 12:51:13 2011 -0700 +++ b/src/share/vm/opto/matcher.hpp Wed Oct 26 06:08:56 2011 -0700 @@ -360,6 +360,12 @@ // Anything this size or smaller may get converted to discrete scalar stores. static const int init_array_short_size; + // Some hardware needs 2 CMOV's for longs. + static const int long_cmove_cost(); + + // Some hardware have expensive CMOV for float and double. + static const int float_cmove_cost(); + // Should the Matcher clone shifts on addressing modes, expecting them to // be subsumed into complex addressing expressions or compute them into // registers? True for Intel but false for most RISCs