[PATCH] D21809: [SystemZ] Add support for .insn and .word/.short/.long/.quad directives

Zhan Jun Liau via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 11:46:58 PDT 2016


zhanjunl created this revision.
zhanjunl added a reviewer: uweigand.
zhanjunl added a subscriber: llvm-commits.

[SystemZ] Add support for .insn and .word/.short/.long/.quad directives

Add support for these directives to allow inline asm and the integrated
assembler to understand them and to properly emit them.

.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 and .word directives.

http://reviews.llvm.org/D21809

Files:
  lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
  test/MC/SystemZ/directive-insn.s
  test/MC/SystemZ/directive-word.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21809.62119.patch
Type: text/x-patch
Size: 15430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160628/20547797/attachment-0001.bin>


More information about the llvm-commits mailing list