Commit ef1b19d6 authored by Liu Yu's avatar Liu Yu Committed by V8 LUCI CQ

[loong64][mips64][wasm][liftoff] Fix and cleanup tracing of return value

Port commit 6f9e71fa

Change-Id: I8aaf45c82b3787acd55de595cebe6b4b3c99efc2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3893596
Auto-Submit: Liu Yu <liuyu@loongson.cn>
Reviewed-by: 's avatarZhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/main@{#83160}
parent bdac0ff0
......@@ -1012,6 +1012,10 @@ void LiftoffAssembler::FillStackSlotsWithZero(int start, int size) {
}
}
void LiftoffAssembler::LoadSpillAddress(Register dst, int offset) {
Sub_d(dst, fp, Operand(offset));
}
void LiftoffAssembler::emit_i64_clz(LiftoffRegister dst, LiftoffRegister src) {
TurboAssembler::Clz_d(dst.gp(), src.gp());
}
......
......@@ -1109,6 +1109,10 @@ void LiftoffAssembler::FillStackSlotsWithZero(int start, int size) {
}
}
void LiftoffAssembler::LoadSpillAddress(Register dst, int offset) {
Dsub(dst, fp, Operand(offset));
}
void LiftoffAssembler::emit_i64_clz(LiftoffRegister dst, LiftoffRegister src) {
TurboAssembler::Dclz(dst.gp(), src.gp());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment