Commit 6d457a90 authored by Lu Yahan's avatar Lu Yahan Committed by V8 LUCI CQ

[riscv64] Alter MaxPCRelativeCodeRangeInMB

In riscv64, pc-relatice call need meet IsInt32(offset + 0x800), so max pcrelatice code range is 4094MB.

Change-Id: Id3481483eb3131b5c08f22bde08206ee30cc25db
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3156585
Commit-Queue: Ji Qiu <qiuji@iscas.ac.cn>
Reviewed-by: 's avatarJi Qiu <qiuji@iscas.ac.cn>
Cr-Commit-Position: refs/heads/main@{#76794}
parent fc6f6213
......@@ -57,7 +57,7 @@ const uint32_t kLessSignificantWordInDoublewordOffset = 4;
namespace v8 {
namespace internal {
constexpr size_t kMaxPCRelativeCodeRangeInMB = 4096;
constexpr size_t kMaxPCRelativeCodeRangeInMB = 4094;
// -----------------------------------------------------------------------------
// Registers and FPURegisters.
......
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