src/cpu/ppc/vm/vm_version_ppc.cpp

Print this page

        

*** 170,179 **** --- 170,184 ---- FLAG_SET_DEFAULT(UseSHA1Intrinsics, false); FLAG_SET_DEFAULT(UseSHA256Intrinsics, false); FLAG_SET_DEFAULT(UseSHA512Intrinsics, false); } + // This machine does not allow unaligned memory accesses + if (! FLAG_IS_DEFAULT(UseUnalignedAccesses)) { + warning("Unaligned memory access is not available on this CPU"); + FLAG_SET_DEFAULT(UseUnalignedAccesses, false); + } } void VM_Version::print_features() { tty->print_cr("Version: %s cache_line_size = %d", cpu_features(), (int) get_cache_line_size()); }