changeset 50983:66a808262d3b

8206255: fix compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java jtreg test on linux s390x Reviewed-by: stuefe
author mbaesken
date Tue, 03 Jul 2018 12:40:42 +0200
parents 0a8198fa7e7a
children f1f4b8cd0192
files src/hotspot/cpu/s390/vm_version_s390.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/cpu/s390/vm_version_s390.cpp	Tue Jul 03 09:11:00 2018 +0200
+++ b/src/hotspot/cpu/s390/vm_version_s390.cpp	Tue Jul 03 12:40:42 2018 +0200
@@ -210,6 +210,10 @@
     FLAG_SET_DEFAULT(UseSHA512Intrinsics, false);
   }
 
+  if (!(UseSHA1Intrinsics || UseSHA256Intrinsics || UseSHA512Intrinsics)) {
+    FLAG_SET_DEFAULT(UseSHA, false);
+  }
+
   if (FLAG_IS_DEFAULT(UseMultiplyToLenIntrinsic)) {
     FLAG_SET_DEFAULT(UseMultiplyToLenIntrinsic, true);
   }