hotspot/src/cpu/x86/vm/x86_32.ad
changeset 12113 71f302d5c8ee
parent 11794 72249bf6ab83
child 12739 09f26b73ae66
equal deleted inserted replaced
12112:56e3093129dc 12113:71f302d5c8ee
  1291 
  1291 
  1292 const bool Matcher::match_rule_supported(int opcode) {
  1292 const bool Matcher::match_rule_supported(int opcode) {
  1293   if (!has_match_rule(opcode))
  1293   if (!has_match_rule(opcode))
  1294     return false;
  1294     return false;
  1295 
  1295 
       
  1296   switch (opcode) {
       
  1297     case Op_PopCountI:
       
  1298     case Op_PopCountL:
       
  1299       if (!UsePopCountInstruction)
       
  1300         return false;
       
  1301     break;
       
  1302   }
       
  1303   
  1296   return true;  // Per default match rules are supported.
  1304   return true;  // Per default match rules are supported.
  1297 }
  1305 }
  1298 
  1306 
  1299 int Matcher::regnum_to_fpu_offset(int regnum) {
  1307 int Matcher::regnum_to_fpu_offset(int regnum) {
  1300   return regnum - 32; // The FP registers are in the second chunk
  1308   return regnum - 32; // The FP registers are in the second chunk