[all-commits] [llvm/llvm-project] 582836: [CSKY] Enhance asm parser and relocation fixup for...

Zi Xuan Wu (Zeson) via All-commits all-commits at lists.llvm.org
Wed Mar 23 23:15:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 582836faafcb458161947a72df27752fe5f76171
      https://github.com/llvm/llvm-project/commit/582836faafcb458161947a72df27752fe5f76171
  Author: Zi Xuan Wu <zixuan.wu at linux.alibaba.com>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp
    A llvm/lib/Target/CSKY/CSKYInstrAlias.td
    M llvm/lib/Target/CSKY/CSKYInstrInfo.td
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYELFObjectWriter.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCTargetDesc.cpp
    A llvm/test/MC/CSKY/3e3r1.s
    A llvm/test/MC/CSKY/801.s
    A llvm/test/MC/CSKY/branch-relax-801.s
    A llvm/test/MC/CSKY/branch-relax-803.s
    A llvm/test/MC/CSKY/bsr.s
    A llvm/test/MC/CSKY/jmpi.s
    A llvm/test/MC/CSKY/jsri.s
    A llvm/test/MC/CSKY/lrs.s
    A llvm/test/MC/CSKY/lrw.s
    A llvm/test/MC/CSKY/tls_gd.s
    A llvm/test/MC/CSKY/tls_ie.s
    A llvm/test/MC/CSKY/tls_ld.s
    A llvm/test/MC/CSKY/tls_le.s
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [CSKY] Enhance asm parser and relocation fixup for some special symbol address instruction

Add processing of parsing and emiting lrw/jsri/jmpi instruction, including related fixup and relocation.
Add relax support about pseudo instructions such as jbr/jbsr.
Add objdump format support like arm in llvm-objdump.




More information about the All-commits mailing list