src/cpu/ppc/vm/vm_version_ppc.cpp

changeset 9496
bcccbecdde63
parent 8903
9575483cce09
child 9497
f892c3b6b651
     1.1 --- a/src/cpu/ppc/vm/vm_version_ppc.cpp	Mon Jul 23 18:08:46 2018 +0200
     1.2 +++ b/src/cpu/ppc/vm/vm_version_ppc.cpp	Mon Sep 24 17:18:38 2018 -0400
     1.3 @@ -150,10 +150,12 @@
     1.4  
     1.5    assert(AllocatePrefetchStyle >= 0, "AllocatePrefetchStyle should be positive");
     1.6  
     1.7 -  if (UseCRC32Intrinsics) {
     1.8 -    if (!FLAG_IS_DEFAULT(UseCRC32Intrinsics))
     1.9 -      warning("CRC32 intrinsics  are not available on this CPU");
    1.10 -    FLAG_SET_DEFAULT(UseCRC32Intrinsics, false);
    1.11 +  // Implementation does not use any of the vector instructions
    1.12 +  // available with Power8. Their exploitation is still pending.
    1.13 +  if (!UseCRC32Intrinsics) {
    1.14 +    if (FLAG_IS_DEFAULT(UseCRC32Intrinsics)) {
    1.15 +      FLAG_SET_DEFAULT(UseCRC32Intrinsics, true);
    1.16 +    }
    1.17    }
    1.18  
    1.19    // The AES intrinsic stubs require AES instruction support.

mercurial