< prev index next >
src/cpu/ppc/vm/ppc.ad
Print this page
rev 7507 : 8066964: ppc64: argument and return type profiling, fix problem with popframe
*** 1934,1945 ****
}
// --------------------------------------------------------------------
// Check for hi bits still needing moving. Only happens for misaligned
// arguments to native calls.
! if (src_hi == dst_hi)
return ppc64Opcode_none; // Self copy; no move.
ShouldNotReachHere();
return ppc64Opcode_undefined;
}
#endif // PPC port
--- 1934,1946 ----
}
// --------------------------------------------------------------------
// Check for hi bits still needing moving. Only happens for misaligned
// arguments to native calls.
! if (src_hi == dst_hi) {
return ppc64Opcode_none; // Self copy; no move.
+ }
ShouldNotReachHere();
return ppc64Opcode_undefined;
}
#endif // PPC port
*** 1963,1974 ****
}
#ifndef PRODUCT
void BoxLockNode::format(PhaseRegAlloc *ra_, outputStream *st) const {
int offset = ra_->reg2offset(in_RegMask(0).find_first_elem());
! int reg = ra_->get_reg_first(this);
! st->print("ADDI %s, SP, %d \t// box node", Matcher::regName[reg], offset);
}
#endif
void BoxLockNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const {
MacroAssembler _masm(&cbuf);
--- 1964,1976 ----
}
#ifndef PRODUCT
void BoxLockNode::format(PhaseRegAlloc *ra_, outputStream *st) const {
int offset = ra_->reg2offset(in_RegMask(0).find_first_elem());
! char reg_str[128];
! ra_->dump_register(this, reg_str);
! st->print("ADDI %s, SP, %d \t// box node", reg_str, offset);
}
#endif
void BoxLockNode::emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const {
MacroAssembler _masm(&cbuf);
< prev index next >