[PATCH] D112919: [CSKY] Add CSKY 16-bit instruction format and encoding
    Zixuan Wu via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Nov  1 03:22:59 PDT 2021
    
    
  
zixuan-wu created this revision.
zixuan-wu added reviewers: rengolin, MaskRay, myhsu.
Herald added a subscriber: hiraditya.
zixuan-wu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
CSKY is a ARCH which supports mixture of 16-bit and 32-bit instructions natively, and there is not an indivual predictor or feature to enable/disable 16-bit instruction. So I think it's better to add 16-bit instruction early, and naturally to use 16-bit and 32-bit instructions.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D112919
Files:
  llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp
  llvm/lib/Target/CSKY/CSKY.td
  llvm/lib/Target/CSKY/CSKYInstrFormats16Instr.td
  llvm/lib/Target/CSKY/CSKYInstrInfo.td
  llvm/lib/Target/CSKY/CSKYInstrInfo16Instr.td
  llvm/lib/Target/CSKY/CSKYRegisterInfo.td
  llvm/lib/Target/CSKY/CSKYSubtarget.cpp
  llvm/lib/Target/CSKY/CSKYSubtarget.h
  llvm/lib/Target/CSKY/CSKYTargetMachine.h
  llvm/test/MC/CSKY/basic-16bit.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112919.383759.patch
Type: text/x-patch
Size: 33896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211101/acccdf11/attachment.bin>
    
    
More information about the llvm-commits
mailing list