[PATCH] D95029: [CSKY 6/n] Add support branch and symbol series instruction

Zixuan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 02:46:09 PST 2021


zixuan-wu created this revision.
zixuan-wu added reviewers: rengolin, myhsu, MaskRay, jyknight, theraven, craig.topper, reames.
Herald added subscribers: hiraditya, mgorny.
zixuan-wu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds basic CSKY branch instructions and symbol address series instructions.
Those two kinds of instruction have relationship between each other, and it involves much work about Fixups.

For now, basic instructions are enabled except for disassembler support. We would support to generate basic codegen asm firstly and delay disassembler work later.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95029

Files:
  llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp
  llvm/lib/Target/CSKY/CSKYInstrFormats.td
  llvm/lib/Target/CSKY/CSKYInstrInfo.td
  llvm/lib/Target/CSKY/MCTargetDesc/CMakeLists.txt
  llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
  llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
  llvm/lib/Target/CSKY/MCTargetDesc/CSKYFixupKinds.h
  llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.h
  llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.cpp
  llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.h
  llvm/test/MC/CSKY/csky-error.s
  llvm/test/MC/CSKY/csky-invalid.s
  llvm/test/MC/CSKY/csky-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95029.317817.patch
Type: text/x-patch
Size: 33280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210120/cc5d2582/attachment.bin>


More information about the llvm-commits mailing list