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