src/cpu/x86/vm/x86_32.ad

changeset 4001
006050192a5a
parent 3882
8c92982cbbc4
child 4037
da91efe96a93
     1.1 --- a/src/cpu/x86/vm/x86_32.ad	Wed Aug 15 16:49:38 2012 -0700
     1.2 +++ b/src/cpu/x86/vm/x86_32.ad	Mon Aug 20 09:07:21 2012 -0700
     1.3 @@ -1367,22 +1367,6 @@
     1.4    return offset;
     1.5  }
     1.6  
     1.7 -
     1.8 -const bool Matcher::match_rule_supported(int opcode) {
     1.9 -  if (!has_match_rule(opcode))
    1.10 -    return false;
    1.11 -
    1.12 -  switch (opcode) {
    1.13 -    case Op_PopCountI:
    1.14 -    case Op_PopCountL:
    1.15 -      if (!UsePopCountInstruction)
    1.16 -        return false;
    1.17 -    break;
    1.18 -  }
    1.19 -  
    1.20 -  return true;  // Per default match rules are supported.
    1.21 -}
    1.22 -
    1.23  int Matcher::regnum_to_fpu_offset(int regnum) {
    1.24    return regnum - 32; // The FP registers are in the second chunk
    1.25  }

mercurial