Commit b902dd97 authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

s390x: Force mov to emit iilf/iihf

Change-Id: I9ee0113cf28b8f4c25a73b970877e5353cbf2076
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2586151Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#71736}
parent c277b558
......@@ -206,12 +206,12 @@ void JumpTableAssembler::EmitLazyCompileJumpSlot(uint32_t func_index,
// Load function index to r7. 6 bytes
lgfi(kWasmCompileLazyFuncIndexRegister, Operand(func_index));
// Jump to {lazy_compile_target}. 6 bytes or 12 bytes
mov(r1, Operand(lazy_compile_target));
mov(r1, Operand(lazy_compile_target, RelocInfo::CODE_TARGET));
b(r1); // 2 bytes
}
bool JumpTableAssembler::EmitJumpSlot(Address target) {
mov(r1, Operand(target));
mov(r1, Operand(target, RelocInfo::CODE_TARGET));
b(r1);
return true;
}
......
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