[all-commits] [llvm/llvm-project] a05393: [RISCV] Add symbol parsing support for XAndesPerf ...

Jim Lin via All-commits all-commits at lists.llvm.org
Thu Jun 19 18:07:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a05393a879b2950fccca66ff0e1b6c70c39838e4
      https://github.com/llvm/llvm-project/commit/a05393a879b2950fccca66ff0e1b6c70c39838e4
  Author: Jim Lin <jim at andestech.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV_nonstandard.def
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVFixupKinds.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
    M llvm/lib/Target/RISCV/RISCVInstrFormats.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoXAndes.td
    M llvm/test/MC/RISCV/custom_reloc.s
    M llvm/test/MC/RISCV/vendor-symbol.s
    A llvm/test/MC/RISCV/xandesperf-fixups-diagnostics.s
    A llvm/test/MC/RISCV/xandesperf-relocation.s

  Log Message:
  -----------
  [RISCV] Add symbol parsing support for XAndesPerf branch instructions (#137748)

This patch adds support for parsing symbols in the XAndesPerf branch
immediate instructions. The branch immediate instructions use
`R_RISCV_NDS_BRANCH_10` relocation. It uses a 10-bit PC-relative branch
offset.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list