[SystemZ] Start adding z196 and zEC12 support
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 19 Jul 2013 16:09:03 +0000 (16:09 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Fri, 19 Jul 2013 16:09:03 +0000 (16:09 +0000)
commiteddfaad1ef9a208a8a9ee23c26fac4d980caa99a
tree507518f73242fc7a0f4be514d0f73b542885c6da
parentb1a003f37725a31e5e744c46112b628c5e0aeb8a
[SystemZ] Start adding z196 and zEC12 support

This first step just adds definitions for SLLK, SRLK and SRAK.
The next patch will actually make use of them during codegen.

insn-bad.s tests that some form of error is reported when using these
instructions on z10.  More work is needed to get the "instruction requires:
distinct-ops" that we'd ideally like, so I've stubbed that part out for now.
I'll come back and make it mandatory once the necessary changes are in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186680 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZ.td
lib/Target/SystemZ/SystemZInstrFormats.td
lib/Target/SystemZ/SystemZInstrInfo.td
lib/Target/SystemZ/SystemZProcessors.td [new file with mode: 0644]
lib/Target/SystemZ/SystemZSubtarget.cpp
lib/Target/SystemZ/SystemZSubtarget.h
test/MC/Disassembler/SystemZ/insns.txt
test/MC/SystemZ/insn-bad-z196.s [new file with mode: 0644]
test/MC/SystemZ/insn-bad.s
test/MC/SystemZ/insn-good-z196.s [new file with mode: 0644]
test/MC/SystemZ/insn-good.s