Chromium Code Reviews

Unified Diff: src/mips64/constants-mips64.h

Issue 1147503002: MIPS64: Improve long branches utilizing code range. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use CodeRange only for LO space. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/mips64/constants-mips64.h
diff --git a/src/mips64/constants-mips64.h b/src/mips64/constants-mips64.h
index 37de91a0e2318d99f52f2b27b5e1d8ba86181754..ec141283728d37d96f55138569c46f449b5ead6e 100644
--- a/src/mips64/constants-mips64.h
+++ b/src/mips64/constants-mips64.h
@@ -959,7 +959,7 @@ class Instruction {
return Bits(kImm21Shift + kImm21Bits - 1, kImm21Shift);
}
- inline int32_t Imm26Value() const {
+ inline int64_t Imm26Value() const {
DCHECK(InstructionType() == kJumpType);
return Bits(kImm26Shift + kImm26Bits - 1, kImm26Shift);
}

Powered by Google App Engine