summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCISelLowering.h
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-05-14 19:35:45 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-05-14 19:35:45 +0000
commit5bbdb190412a55436b808cfa59820b1e6cf08db0 (patch)
tree8c4f94018139abcf37477feb075de9ee5d7bc148 /lib/Target/PowerPC/PPCISelLowering.h
parent13a3cf192887233fb9452ec5b7f841e4652c33c7 (diff)
downloadllvm-5bbdb190412a55436b808cfa59820b1e6cf08db0.tar.gz
llvm-5bbdb190412a55436b808cfa59820b1e6cf08db0.tar.bz2
llvm-5bbdb190412a55436b808cfa59820b1e6cf08db0.tar.xz
Implement the PowerPC system call (sc) instruction.
Instruction added at request of Roman Divacky. Tested via asm-parser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.h b/lib/Target/PowerPC/PPCISelLowering.h
index b219de38d5..6df09a0744 100644
--- a/lib/Target/PowerPC/PPCISelLowering.h
+++ b/lib/Target/PowerPC/PPCISelLowering.h
@@ -238,6 +238,10 @@ namespace llvm {
/// optimizations due to constant folding.
VADD_SPLAT,
+ /// CHAIN = SC CHAIN, Imm128 - System call. The 7-bit unsigned
+ /// operand identifies the operating system entry point.
+ SC,
+
/// CHAIN = STBRX CHAIN, GPRC, Ptr, Type - This is a
/// byte-swapping store instruction. It byte-swaps the low "Type" bits of
/// the GPRC input, then stores it through Ptr. Type can be either i16 or