src/hotspot/cpu/s390/vm_version_s390.cpp
changeset 58959 b7b170ba3ba9
parent 54960 e46fe26d7f77
child 59122 5d73255c2d52
equal deleted inserted replaced
58958:7bfe7df764a2 58959:b7b170ba3ba9
    59     print_features();
    59     print_features();
    60   }
    60   }
    61 
    61 
    62   intx cache_line_size = Dcache_lineSize(0);
    62   intx cache_line_size = Dcache_lineSize(0);
    63 
    63 
       
    64 #ifdef COMPILER2
    64   MaxVectorSize = 8;
    65   MaxVectorSize = 8;
       
    66 #endif
    65 
    67 
    66   if (has_PrefetchRaw()) {
    68   if (has_PrefetchRaw()) {
    67     if (FLAG_IS_DEFAULT(AllocatePrefetchStyle)) {  // not preset
    69     if (FLAG_IS_DEFAULT(AllocatePrefetchStyle)) {  // not preset
    68       // 0 = no prefetch.
    70       // 0 = no prefetch.
    69       // 1 = Prefetch instructions for each allocation.
    71       // 1 = Prefetch instructions for each allocation.
   215 
   217 
   216   if (!(UseSHA1Intrinsics || UseSHA256Intrinsics || UseSHA512Intrinsics)) {
   218   if (!(UseSHA1Intrinsics || UseSHA256Intrinsics || UseSHA512Intrinsics)) {
   217     FLAG_SET_DEFAULT(UseSHA, false);
   219     FLAG_SET_DEFAULT(UseSHA, false);
   218   }
   220   }
   219 
   221 
       
   222 #ifdef COMPILER2
   220   if (FLAG_IS_DEFAULT(UseMultiplyToLenIntrinsic)) {
   223   if (FLAG_IS_DEFAULT(UseMultiplyToLenIntrinsic)) {
   221     FLAG_SET_DEFAULT(UseMultiplyToLenIntrinsic, true);
   224     FLAG_SET_DEFAULT(UseMultiplyToLenIntrinsic, true);
   222   }
   225   }
   223   if (FLAG_IS_DEFAULT(UseMontgomeryMultiplyIntrinsic)) {
   226   if (FLAG_IS_DEFAULT(UseMontgomeryMultiplyIntrinsic)) {
   224     FLAG_SET_DEFAULT(UseMontgomeryMultiplyIntrinsic, true);
   227     FLAG_SET_DEFAULT(UseMontgomeryMultiplyIntrinsic, true);
   225   }
   228   }
   226   if (FLAG_IS_DEFAULT(UseMontgomerySquareIntrinsic)) {
   229   if (FLAG_IS_DEFAULT(UseMontgomerySquareIntrinsic)) {
   227     FLAG_SET_DEFAULT(UseMontgomerySquareIntrinsic, true);
   230     FLAG_SET_DEFAULT(UseMontgomerySquareIntrinsic, true);
   228   }
   231   }
       
   232 #endif
   229   if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
   233   if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
   230     FLAG_SET_DEFAULT(UsePopCountInstruction, true);
   234     FLAG_SET_DEFAULT(UsePopCountInstruction, true);
   231   }
   235   }
   232 
   236 
   233   // z/Architecture supports 8-byte compare-exchange operations
   237   // z/Architecture supports 8-byte compare-exchange operations