hotspot/src/cpu/s390/vm/vm_version_s390.cpp
changeset 46733 ff3f9838b730
parent 46560 388aa8d67c80
equal deleted inserted replaced
46732:05423d4b10d2 46733:ff3f9838b730
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2016 SAP SE. All rights reserved.
     3  * Copyright (c) 2016, 2017 SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
     8  * published by the Free Software Foundation.
     8  * published by the Free Software Foundation.
   149       FLAG_SET_DEFAULT(UseAESIntrinsics, true);
   149       FLAG_SET_DEFAULT(UseAESIntrinsics, true);
   150     }
   150     }
   151   }
   151   }
   152   if (UseAESIntrinsics && !has_Crypto_AES()) {
   152   if (UseAESIntrinsics && !has_Crypto_AES()) {
   153     warning("AES intrinsics are not available on this CPU");
   153     warning("AES intrinsics are not available on this CPU");
       
   154     FLAG_SET_DEFAULT(UseAESIntrinsics, false);
       
   155   }
       
   156   if (UseAESIntrinsics && !UseAES) {
       
   157     warning("AES intrinsics require UseAES flag to be enabled. Intrinsics will be disabled.");
   154     FLAG_SET_DEFAULT(UseAESIntrinsics, false);
   158     FLAG_SET_DEFAULT(UseAESIntrinsics, false);
   155   }
   159   }
   156 
   160 
   157   // TODO: implement AES/CTR intrinsics
   161   // TODO: implement AES/CTR intrinsics
   158   if (UseAESCTRIntrinsics) {
   162   if (UseAESCTRIntrinsics) {