< prev index next >

src/hotspot/cpu/s390/s390.ad

Print this page

 1519   switch (opcode) {
 1520     case Op_ReverseBytesI:
 1521     case Op_ReverseBytesL:
 1522       return UseByteReverseInstruction;
 1523     case Op_PopCountI:
 1524     case Op_PopCountL:
 1525       // PopCount supported by H/W from z/Architecture G5 (z196) on.
 1526       return (UsePopCountInstruction && VM_Version::has_PopCount());
 1527   }
 1528 
 1529   return true; // Per default match rules are supported.
 1530 }
 1531 
 1532 const bool Matcher::match_rule_supported_vector(int opcode, int vlen, BasicType bt) {
 1533   if (!match_rule_supported(opcode) || !vector_size_supported(bt, vlen)) {
 1534     return false;
 1535   }
 1536   return true; // Per default match rules are supported.
 1537 }
 1538 




 1539 const RegMask* Matcher::predicate_reg_mask(void) {
 1540   return NULL;
 1541 }
 1542 
 1543 const TypeVect* Matcher::predicate_reg_type(const Type* elemTy, int length) {
 1544   return NULL;
 1545 }
 1546 
 1547 // Vector calling convention not yet implemented.
 1548 const bool Matcher::supports_vector_calling_convention(void) {
 1549   return false;
 1550 }
 1551 
 1552 OptoRegPair Matcher::vector_return_value(uint ideal_reg) {
 1553   Unimplemented();
 1554   return OptoRegPair(0, 0);
 1555 }
 1556 
 1557 //----------SUPERWORD HELPERS----------------------------------------
 1558 

 1519   switch (opcode) {
 1520     case Op_ReverseBytesI:
 1521     case Op_ReverseBytesL:
 1522       return UseByteReverseInstruction;
 1523     case Op_PopCountI:
 1524     case Op_PopCountL:
 1525       // PopCount supported by H/W from z/Architecture G5 (z196) on.
 1526       return (UsePopCountInstruction && VM_Version::has_PopCount());
 1527   }
 1528 
 1529   return true; // Per default match rules are supported.
 1530 }
 1531 
 1532 const bool Matcher::match_rule_supported_vector(int opcode, int vlen, BasicType bt) {
 1533   if (!match_rule_supported(opcode) || !vector_size_supported(bt, vlen)) {
 1534     return false;
 1535   }
 1536   return true; // Per default match rules are supported.
 1537 }
 1538 
 1539 const bool Matcher::match_rule_supported_vector_masked(int opcode, int vlen, BasicType bt) {
 1540   return false;
 1541 }
 1542 
 1543 const RegMask* Matcher::predicate_reg_mask(void) {
 1544   return NULL;
 1545 }
 1546 
 1547 const TypeVect* Matcher::predicate_reg_type(const Type* elemTy, int length) {
 1548   return NULL;
 1549 }
 1550 
 1551 // Vector calling convention not yet implemented.
 1552 const bool Matcher::supports_vector_calling_convention(void) {
 1553   return false;
 1554 }
 1555 
 1556 OptoRegPair Matcher::vector_return_value(uint ideal_reg) {
 1557   Unimplemented();
 1558   return OptoRegPair(0, 0);
 1559 }
 1560 
 1561 //----------SUPERWORD HELPERS----------------------------------------
 1562 
< prev index next >