hotspot/src/share/vm/opto/library_call.cpp
changeset 46630 75aa3e39d02c
parent 46542 73dd19b96b5d
child 46735 219c4312853e
equal deleted inserted replaced
46629:8eeacdc76bf2 46630:75aa3e39d02c
  1989       case BoolTest::le:          // x <= y
  1989       case BoolTest::le:          // x <= y
  1990         return (want_max ? yvalue : xvalue);
  1990         return (want_max ? yvalue : xvalue);
  1991       case BoolTest::gt:          // x > y
  1991       case BoolTest::gt:          // x > y
  1992       case BoolTest::ge:          // x >= y
  1992       case BoolTest::ge:          // x >= y
  1993         return (want_max ? xvalue : yvalue);
  1993         return (want_max ? xvalue : yvalue);
       
  1994       default:
       
  1995         break;
  1994       }
  1996       }
  1995     }
  1997     }
  1996   }
  1998   }
  1997 
  1999 
  1998   // We failed to find a dominating test.
  2000   // We failed to find a dominating test.
  2622     case T_ADDRESS:
  2624     case T_ADDRESS:
  2623       // Repackage the long as a pointer.
  2625       // Repackage the long as a pointer.
  2624       val = ConvL2X(val);
  2626       val = ConvL2X(val);
  2625       val = _gvn.transform(new CastX2PNode(val));
  2627       val = _gvn.transform(new CastX2PNode(val));
  2626       break;
  2628       break;
       
  2629     default:
       
  2630       break;
  2627     }
  2631     }
  2628 
  2632 
  2629     if (type == T_OBJECT) {
  2633     if (type == T_OBJECT) {
  2630       store_oop_to_unknown(control(), heap_base_oop, adr, adr_type, val, type, mo, mismatched);
  2634       store_oop_to_unknown(control(), heap_base_oop, adr, adr_type, val, type, mo, mismatched);
  2631     } else {
  2635     } else {
  6181     break;
  6185     break;
  6182   case vmIntrinsics::_aescrypt_decryptBlock:
  6186   case vmIntrinsics::_aescrypt_decryptBlock:
  6183     stubAddr = StubRoutines::aescrypt_decryptBlock();
  6187     stubAddr = StubRoutines::aescrypt_decryptBlock();
  6184     stubName = "aescrypt_decryptBlock";
  6188     stubName = "aescrypt_decryptBlock";
  6185     break;
  6189     break;
       
  6190   default:
       
  6191     break;
  6186   }
  6192   }
  6187   if (stubAddr == NULL) return false;
  6193   if (stubAddr == NULL) return false;
  6188 
  6194 
  6189   Node* aescrypt_object = argument(0);
  6195   Node* aescrypt_object = argument(0);
  6190   Node* src             = argument(1);
  6196   Node* src             = argument(1);
  6247     stubName = "cipherBlockChaining_encryptAESCrypt";
  6253     stubName = "cipherBlockChaining_encryptAESCrypt";
  6248     break;
  6254     break;
  6249   case vmIntrinsics::_cipherBlockChaining_decryptAESCrypt:
  6255   case vmIntrinsics::_cipherBlockChaining_decryptAESCrypt:
  6250     stubAddr = StubRoutines::cipherBlockChaining_decryptAESCrypt();
  6256     stubAddr = StubRoutines::cipherBlockChaining_decryptAESCrypt();
  6251     stubName = "cipherBlockChaining_decryptAESCrypt";
  6257     stubName = "cipherBlockChaining_decryptAESCrypt";
       
  6258     break;
       
  6259   default:
  6252     break;
  6260     break;
  6253   }
  6261   }
  6254   if (stubAddr == NULL) return false;
  6262   if (stubAddr == NULL) return false;
  6255 
  6263 
  6256   Node* cipherBlockChaining_object = argument(0);
  6264   Node* cipherBlockChaining_object = argument(0);