J/JAL/JALX/JALS are absolute branches, but stay within the current
256 MB-aligned region, so we must include the high bits of the
instruction address when calculating the branch target.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D68548
[Mips] Fix evaluating J-format branch targets ClosedPublic Authored by jrtc27 on Oct 5 2019, 5:30 PM.
Details Summary J/JAL/JALX/JALS are absolute branches, but stay within the current
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 7 2019, 6:57 AM Closed by commit rL373906: [Mips] Fix evaluating J-format branch targets (authored by atanasyan). · Explain WhyOct 7 2019, 10:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 223735 llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
llvm/trunk/test/MC/Mips/micromips-jump-pc-region.s
llvm/trunk/test/MC/Mips/mips-jump-pc-region.s
|