[all-commits] [llvm/llvm-project] 2fd765: [XCOFF] Display branch-absolute targets in hex. (#...

stephenpeckham via All-commits all-commits at lists.llvm.org
Wed Dec 13 10:56:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fd7657b6609454af7adb75765d164ec7d1bb80b
      https://github.com/llvm/llvm-project/commit/2fd7657b6609454af7adb75765d164ec7d1bb80b
  Author: stephenpeckham <118857872+stephenpeckham at users.noreply.github.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M lld/test/ELF/ppc32-reloc-addr.s
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
    M llvm/test/MC/Disassembler/PowerPC/ppc64-operands.txt
    M llvm/test/MC/PowerPC/ppc32-ba.s
    M llvm/test/MC/PowerPC/ppc64-operands.s
    A llvm/test/tools/llvm-objdump/XCOFF/disassemble-abs.test

  Log Message:
  -----------
  [XCOFF] Display branch-absolute targets in hex. (#72532)

Branch-absolute instructions are currently printed in decimal, and
negative addresses are printed as positive numbers.

With this change, addresses are printed in hex and negative addresses
are converted to an unsigned 32- or 64-bit address.




More information about the All-commits mailing list