equal
deleted
inserted
replaced
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 |