< prev index next >

src/cpu/ppc/vm/vm_version_ppc.cpp

Print this page
rev 8574 : 8131048: ppc: implement CRC32 intrinsic

*** 148,161 **** AllocatePrefetchStyle = 1; // Fall back if inappropriate. } assert(AllocatePrefetchStyle >= 0, "AllocatePrefetchStyle should be positive"); ! if (UseCRC32Intrinsics) { ! if (!FLAG_IS_DEFAULT(UseCRC32Intrinsics)) ! warning("CRC32 intrinsics are not available on this CPU"); ! FLAG_SET_DEFAULT(UseCRC32Intrinsics, false); } // The AES intrinsic stubs require AES instruction support. #if defined(VM_LITTLE_ENDIAN) if (has_vcipher()) { --- 148,163 ---- AllocatePrefetchStyle = 1; // Fall back if inappropriate. } assert(AllocatePrefetchStyle >= 0, "AllocatePrefetchStyle should be positive"); ! // Implementation does not use any of the vector instructions ! // available with Power8. Their exploitation is still pending. ! if (!UseCRC32Intrinsics) { ! if (FLAG_IS_DEFAULT(UseCRC32Intrinsics)) { ! FLAG_SET_DEFAULT(UseCRC32Intrinsics, true); ! } } // The AES intrinsic stubs require AES instruction support. #if defined(VM_LITTLE_ENDIAN) if (has_vcipher()) {
< prev index next >