[SystemZ] Add support for the .insn directive
authorZhan Jun Liau <zhanjunl@ca.ibm.com>
Mon, 8 Aug 2016 15:13:08 +0000 (15:13 +0000)
committerZhan Jun Liau <zhanjunl@ca.ibm.com>
Mon, 8 Aug 2016 15:13:08 +0000 (15:13 +0000)
commit4fbc3f4a376f7902757c210aaf55962c6b09e829
tree9fd149cdc267c7adcc378240d068d41d47a5c767
parenteb912b9dd399c42e93f46229089eb2a6e6352083
[SystemZ] Add support for the .insn directive

Summary:
Add support for the .insn directive.

.insn is an s390 specific directive that allows encoding of an instruction
instead of using a mnemonic. The motivating case is some code in node.js that
requires support for the .insn directive.

Reviewers: koriakin, uweigand

Subscribers: koriakin, llvm-commits

Differential Revision: https://reviews.llvm.org/D21809

llvm-svn: 278012
llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h
llvm/lib/Target/SystemZ/SystemZInstrFormats.td
llvm/lib/Target/SystemZ/SystemZInstrInfo.td
llvm/lib/Target/SystemZ/SystemZOperands.td
llvm/lib/Target/SystemZ/SystemZRegisterInfo.td
llvm/test/MC/SystemZ/directive-insn.s [new file with mode: 0644]