src/cpu/sparc/vm/sparc.ad

Print this page
rev 3201 : 7153034: Fix of 6658428, emitting popcount on platforms without support
Summary: 6658428 errounously assumed match_rule_supported took hw into account
Reviewed-by:
Contributed-by: nils.eliasson@oracle.com

*** 1830,1839 **** --- 1830,1841 ---- switch (opcode) { case Op_CountLeadingZerosI: case Op_CountLeadingZerosL: case Op_CountTrailingZerosI: case Op_CountTrailingZerosL: + case Op_PopCountI: + case Op_PopCountL: if (!UsePopCountInstruction) return false; break; }