[PATCH] D81215: [VE] Support branch instructions in MC layer

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 20:24:07 PDT 2020


kaz7 created this revision.
kaz7 added projects: LLVM, VE.
kaz7 added reviewers: simoll, k-ishizaka.
Herald added subscribers: llvm-commits, hiraditya.

Add regression tests of asmparser, mccodeemitter, and disassembler for
branch instructions.  In order to support them, we enhance asmparser
by adding splitting mnemonic mechanism, e.g. "bgt.l.t" into "b", "gt",
and ".l.t", and parsing mechanism for AS style memory addressing.
We also implment encoding and decoding mechanism for branch instructions.

Depends on D81207 <https://reviews.llvm.org/D81207>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81215

Files:
  llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp
  llvm/lib/Target/VE/Disassembler/VEDisassembler.cpp
  llvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
  llvm/lib/Target/VE/VE.h
  llvm/lib/Target/VE/VEInstrInfo.cpp
  llvm/lib/Target/VE/VEInstrInfo.td
  llvm/test/MC/VE/BC.s
  llvm/test/MC/VE/BCR.s
  llvm/test/MC/VE/BSIC.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81215.268647.patch
Type: text/x-patch
Size: 36771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/75b7e753/attachment-0001.bin>


More information about the llvm-commits mailing list