[SystemZ] Add STOC and STOCG
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Thu, 25 Jul 2013 08:57:02 +0000 (08:57 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Thu, 25 Jul 2013 08:57:02 +0000 (08:57 +0000)
commitb284e1bf08d24deb20b7deab71fce6f3034cc89a
treeb5f5a9f966a07559972c3d0a2ab4743d05b1ace2
parent13372886a6d387c8847143744f26790a250f4360
[SystemZ] Add STOC and STOCG

These instructions are allowed to trap even if the condition is false,
so for now they are only used for "*ptr = (cond ? x : *ptr)"-style
constructs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187111 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.h
lib/Target/SystemZ/SystemZInstrFormats.td
lib/Target/SystemZ/SystemZInstrInfo.td
lib/Target/SystemZ/SystemZProcessors.td
lib/Target/SystemZ/SystemZSubtarget.cpp
lib/Target/SystemZ/SystemZSubtarget.h
test/CodeGen/SystemZ/cond-store-03.ll
test/CodeGen/SystemZ/cond-store-04.ll
test/CodeGen/SystemZ/cond-store-07.ll [new file with mode: 0644]
test/CodeGen/SystemZ/cond-store-08.ll [new file with mode: 0644]
test/MC/Disassembler/SystemZ/insns.txt
test/MC/SystemZ/insn-bad-z196.s
test/MC/SystemZ/insn-good-z196.s