[PATCH] D123764: [llvm-objdump] Implemented PrintBranchImmAsAddress for MIPS
Pavel Kosov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 01:34:30 PDT 2022
kpdev42 created this revision.
kpdev42 added reviewers: nickdesaulniers, sdardis.
kpdev42 added a project: LLVM.
Herald added subscribers: luke957, luismarques, s.egerton, PkmX, atanasyan, jrtc27, simoncook, hiraditya, arichardson.
Herald added a project: All.
kpdev42 requested review of this revision.
Updated MipsInstPrinter to print absolute hex offsets for branch instructions.
It is necessary to make the llvm-objdump output close to the gnu objdump output.
This implementation is based on the implementation for RISC-V.
OS Laboratory. Huawei Russian Research Institute. Saint-Petersburg
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123764
Files:
llvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
llvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.h
llvm/lib/Target/Mips/MicroMips32r6InstrInfo.td
llvm/lib/Target/Mips/MicroMipsInstrInfo.td
llvm/lib/Target/Mips/Mips.td
llvm/lib/Target/Mips/Mips32r6InstrInfo.td
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/CodeGen/Mips/micromips-b-range.ll
llvm/test/MC/Mips/expansion-j-sym-pic.s
llvm/test/MC/Mips/instr-analysis.s
llvm/test/MC/Mips/micromips-el-fixup-data.s
llvm/test/MC/Mips/micromips-neg-offset.s
llvm/test/MC/Mips/mips-jump-pc-region.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123764.422762.patch
Type: text/x-patch
Size: 29236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220414/1a433316/attachment.bin>
More information about the llvm-commits
mailing list