comparison src/share/vm/opto/matcher.hpp @ 775:93c14e5562c4

6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}() Summary: These methods can be instrinsified by using bit scan, bit test, and population count instructions. Reviewed-by: kvn, never
author twisti
date Wed, 06 May 2009 00:27:52 -0700
parents 04fa5affa478
children bd02caa94611
comparison
equal deleted inserted replaced
755:36ee9b69616e 775:93c14e5562c4
223 OptoReg::Name _out_arg_limit; 223 OptoReg::Name _out_arg_limit;
224 224
225 OptoRegPair *_parm_regs; // Array of machine registers per argument 225 OptoRegPair *_parm_regs; // Array of machine registers per argument
226 RegMask *_calling_convention_mask; // Array of RegMasks per argument 226 RegMask *_calling_convention_mask; // Array of RegMasks per argument
227 227
228 // Does matcher support this ideal node? 228 // Does matcher have a match rule for this ideal node?
229 static const bool has_match_rule(int opcode); 229 static const bool has_match_rule(int opcode);
230 static const bool _hasMatchRule[_last_opcode]; 230 static const bool _hasMatchRule[_last_opcode];
231
232 // Does matcher have a match rule for this ideal node and is the
233 // predicate (if there is one) true?
234 // NOTE: If this function is used more commonly in the future, ADLC
235 // should generate this one.
236 static const bool match_rule_supported(int opcode);
231 237
232 // Used to determine if we have fast l2f conversion 238 // Used to determine if we have fast l2f conversion
233 // USII has it, USIII doesn't 239 // USII has it, USIII doesn't
234 static const bool convL2FSupported(void); 240 static const bool convL2FSupported(void);
235 241