comparison src/cpu/x86/vm/x86_64.ad @ 5934:61b82be3b1ff

7152957: VM crashes with assert(false) failed: bad AD file Reviewed-by: kvn, never Contributed-by: nils.eliasson@oracle.com
author never
date Mon, 12 Mar 2012 15:28:07 -0700
parents 9b8ce46870df
children fd09f2d8283e
comparison
equal deleted inserted replaced
5933:fde683df4c27 5934:61b82be3b1ff
1712 1712
1713 const bool Matcher::match_rule_supported(int opcode) { 1713 const bool Matcher::match_rule_supported(int opcode) {
1714 if (!has_match_rule(opcode)) 1714 if (!has_match_rule(opcode))
1715 return false; 1715 return false;
1716 1716
1717 switch (opcode) {
1718 case Op_PopCountI:
1719 case Op_PopCountL:
1720 if (!UsePopCountInstruction)
1721 return false;
1722 break;
1723 }
1724
1717 return true; // Per default match rules are supported. 1725 return true; // Per default match rules are supported.
1718 } 1726 }
1719 1727
1720 int Matcher::regnum_to_fpu_offset(int regnum) 1728 int Matcher::regnum_to_fpu_offset(int regnum)
1721 { 1729 {