< prev index next >
src/cpu/ppc/vm/vm_version_ppc.cpp
Print this page
rev 13203 : 8183571: PPC64 build broken after 8178499
Reviewed-by: simonis
@@ -79,11 +79,11 @@
}
guarantee(PowerArchitecturePPC64_ok, "PowerArchitecturePPC64 cannot be set to "
UINTX_FORMAT " on this machine", PowerArchitecturePPC64);
// Power 8: Configure Data Stream Control Register.
- if (has_mfdscr()) {
+ if (PowerArchitecturePPC64 >= 8 && has_mfdscr()) {
config_dscr();
}
if (!UseSIGTRAP) {
MSG(TrapBasedICMissChecks);
@@ -696,11 +696,11 @@
_L1_data_cache_line_size = count;
// Execute code. Illegal instructions will be replaced by 0 in the signal handler.
VM_Version::_is_determine_features_test_running = true;
// We must align the first argument to 16 bytes because of the lqarx check.
- (*test)(align_up(mid_of_test_area, 16), (uint64_t)0);
+ (*test)((address)align_up((intptr_t)mid_of_test_area, 16), 0);
VM_Version::_is_determine_features_test_running = false;
// determine which instructions are legal.
int feature_cntr = 0;
if (code[feature_cntr++]) features |= fsqrt_m;
< prev index next >