[PATCH] D21809: [SystemZ] Add support for the .insn directive.

Zhan Jun Liau via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 13:44:48 PDT 2016


zhanjunl retitled this revision from "[SystemZ] Add support for .insn and .word/.short/.long/.quad directives" to "[SystemZ] Add support for the .insn directive.".
zhanjunl updated the summary for this revision.
zhanjunl updated this revision to Diff 65592.
zhanjunl added a comment.

Reworked this diff to use MC instructions to parse and emit the directive. This allows handling of PC-relative operands for some of these directives. Also added some new instructions so that we can test the .insn directive for all formats.


https://reviews.llvm.org/D21809

Files:
  lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
  lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
  lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h
  lib/Target/SystemZ/SystemZInstrFormats.td
  lib/Target/SystemZ/SystemZInstrInfo.td
  lib/Target/SystemZ/SystemZOperands.td
  lib/Target/SystemZ/SystemZRegisterInfo.td
  test/MC/Disassembler/SystemZ/insns-pcrel.txt
  test/MC/Disassembler/SystemZ/insns.txt
  test/MC/SystemZ/directive-insn.s
  test/MC/SystemZ/insn-bad.s
  test/MC/SystemZ/insn-good.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21809.65592.patch
Type: text/x-patch
Size: 52436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/71432b87/attachment.bin>


More information about the llvm-commits mailing list