ppc/s390: replace LoadP with LoadU64
Change-Id: I636b9e8ab8ac89cbdf9814bc1bce2eaad2bcf030 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2892606 Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Junliang Yan <junyan@redhat.com> Cr-Commit-Position: refs/heads/master@{#74578}
This commit is contained in:
parent
59b43b1fc3
commit
89e3b1ee3c
@ -148,9 +148,6 @@ class V8_EXPORT_PRIVATE TurboAssembler : public TurboAssemblerBase {
|
||||
|
||||
// These exist to provide portability between 32 and 64bit
|
||||
void LoadU64(Register dst, const MemOperand& mem, Register scratch = no_reg);
|
||||
void LoadP(Register dst, const MemOperand& mem, Register scratch = no_reg) {
|
||||
LoadU64(dst, mem, no_reg);
|
||||
}
|
||||
void LoadPU(Register dst, const MemOperand& mem, Register scratch = no_reg);
|
||||
void LoadWordArith(Register dst, const MemOperand& mem,
|
||||
Register scratch = no_reg);
|
||||
|
@ -776,9 +776,6 @@ class V8_EXPORT_PRIVATE TurboAssembler : public TurboAssemblerBase {
|
||||
void ResetRoundingMode();
|
||||
|
||||
// These exist to provide portability between 32 and 64bit
|
||||
void LoadP(Register dst, const MemOperand& mem, Register scratch = no_reg) {
|
||||
LoadU64(dst, mem, scratch);
|
||||
}
|
||||
void LoadMultipleP(Register dst1, Register dst2, const MemOperand& mem);
|
||||
void StoreMultipleP(Register dst1, Register dst2, const MemOperand& mem);
|
||||
void LoadMultipleW(Register dst1, Register dst2, const MemOperand& mem);
|
||||
|
@ -122,14 +122,14 @@ void CompileJumpTableThunk(Address thunk, Address jump_target) {
|
||||
__ Br(scratch);
|
||||
#elif V8_TARGET_ARCH_PPC64
|
||||
__ mov(scratch, Operand(stop_bit_address, RelocInfo::NONE));
|
||||
__ LoadP(scratch, MemOperand(scratch));
|
||||
__ LoadU64(scratch, MemOperand(scratch));
|
||||
__ cmpi(scratch, Operand::Zero());
|
||||
__ bne(&exit);
|
||||
__ mov(scratch, Operand(jump_target, RelocInfo::NONE));
|
||||
__ Jump(scratch);
|
||||
#elif V8_TARGET_ARCH_S390X
|
||||
__ mov(scratch, Operand(stop_bit_address, RelocInfo::NONE));
|
||||
__ LoadP(scratch, MemOperand(scratch));
|
||||
__ LoadU64(scratch, MemOperand(scratch));
|
||||
__ CmpP(scratch, Operand(0));
|
||||
__ bne(&exit);
|
||||
__ mov(scratch, Operand(jump_target, RelocInfo::NONE));
|
||||
|
Loading…
Reference in New Issue
Block a user