hotspot/src/cpu/sparc/vm/vm_version_sparc.cpp
changeset 32581 632402f18fe6
parent 32580 b4817ffce063
child 32627 a48ad2501e47
equal deleted inserted replaced
32580:b4817ffce063 32581:632402f18fe6
   375   } else if (UseCRC32CIntrinsics) {
   375   } else if (UseCRC32CIntrinsics) {
   376     warning("CRC32C instruction is not available on this CPU");
   376     warning("CRC32C instruction is not available on this CPU");
   377     FLAG_SET_DEFAULT(UseCRC32CIntrinsics, false);
   377     FLAG_SET_DEFAULT(UseCRC32CIntrinsics, false);
   378   }
   378   }
   379 
   379 
       
   380   if (UseVIS > 2) {
       
   381     if (FLAG_IS_DEFAULT(UseAdler32Intrinsics)) {
       
   382       FLAG_SET_DEFAULT(UseAdler32Intrinsics, true);
       
   383     }
       
   384   } else if (UseAdler32Intrinsics) {
       
   385     warning("SPARC Adler32 intrinsics require VIS3 instruction support. Intrinsics will be disabled.");
       
   386     FLAG_SET_DEFAULT(UseAdler32Intrinsics, false);
       
   387   }
       
   388 
   380   if (FLAG_IS_DEFAULT(ContendedPaddingWidth) &&
   389   if (FLAG_IS_DEFAULT(ContendedPaddingWidth) &&
   381     (cache_line_size > ContendedPaddingWidth))
   390     (cache_line_size > ContendedPaddingWidth))
   382     ContendedPaddingWidth = cache_line_size;
   391     ContendedPaddingWidth = cache_line_size;
   383 
   392 
   384   // This machine does not allow unaligned memory accesses
   393   // This machine does not allow unaligned memory accesses