mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8143012: CRC32 Intrinsics support on SPARC
Reviewed-by: kvn, roland
This commit is contained in:
parent
ea052022fa
commit
e28d9ba105
11 changed files with 822 additions and 7 deletions
|
@ -347,6 +347,15 @@ void VM_Version::initialize() {
|
|||
FLAG_SET_DEFAULT(UseAdler32Intrinsics, false);
|
||||
}
|
||||
|
||||
if (UseVIS > 2) {
|
||||
if (FLAG_IS_DEFAULT(UseCRC32Intrinsics)) {
|
||||
FLAG_SET_DEFAULT(UseCRC32Intrinsics, true);
|
||||
}
|
||||
} else if (UseCRC32Intrinsics) {
|
||||
warning("SPARC CRC32 intrinsics require VIS3 insructions support. Intriniscs will be disabled");
|
||||
FLAG_SET_DEFAULT(UseCRC32Intrinsics, false);
|
||||
}
|
||||
|
||||
if (FLAG_IS_DEFAULT(ContendedPaddingWidth) &&
|
||||
(cache_line_size > ContendedPaddingWidth))
|
||||
ContendedPaddingWidth = cache_line_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue