diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2013-05-14 19:35:45 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2013-05-14 19:35:45 +0000 |
commit | 5bbdb190412a55436b808cfa59820b1e6cf08db0 (patch) | |
tree | 8c4f94018139abcf37477feb075de9ee5d7bc148 /lib/Target/PowerPC/PPCISelLowering.h | |
parent | 13a3cf192887233fb9452ec5b7f841e4652c33c7 (diff) | |
download | llvm-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.h | 4 |
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 |