diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-22 23:10:08 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-22 23:10:08 +0000 |
commit | 009f7afbeb77d1cc8e962bac7057b73b6d39d62f (patch) | |
tree | 362e05a353bb2b5cc24792048cd92cf7a2c5b8ad /lib/Target/PowerPC/PPCInstr64Bit.td | |
parent | e5457d21169105b695a7e32d4424a35bb9ca7fa2 (diff) | |
download | llvm-009f7afbeb77d1cc8e962bac7057b73b6d39d62f.tar.gz llvm-009f7afbeb77d1cc8e962bac7057b73b6d39d62f.tar.bz2 llvm-009f7afbeb77d1cc8e962bac7057b73b6d39d62f.tar.xz |
Add support for the PPC isel instruction.
The isel (integer select) instruction is supported on the 440 and A2
embedded cores and on the POWER7.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159045 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstr64Bit.td')
-rw-r--r-- | lib/Target/PowerPC/PPCInstr64Bit.td | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstr64Bit.td b/lib/Target/PowerPC/PPCInstr64Bit.td index e83fd7225c..a2bd55f533 100644 --- a/lib/Target/PowerPC/PPCInstr64Bit.td +++ b/lib/Target/PowerPC/PPCInstr64Bit.td @@ -497,6 +497,10 @@ def RLWINM8 : MForm_2<21, "rlwinm $rA, $rS, $SH, $MB, $ME", IntGeneral, []>; +def ISEL8 : AForm_1<31, 15, + (outs G8RC:$rT), (ins G8RC:$rA, G8RC:$rB, pred:$cond), + "isel $rT, $rA, $rB, $cond", IntGeneral, + []>; } // End FXU Operations. |