projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c02e5a8
)
add vsel
author
Chris Lattner
<sabre@nondot.org>
Sun, 26 Mar 2006 22:38:43 +0000
(22:38 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 26 Mar 2006 22:38:43 +0000
(22:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27153
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrAltivec.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrAltivec.td
b/lib/Target/PowerPC/PPCInstrAltivec.td
index bc7221b88cfcd2531345ff3fd473f9c05be90e22..8acce42d4c43f1789b02f6692ae11f1364c54e3c 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrAltivec.td
+++ b/
lib/Target/PowerPC/PPCInstrAltivec.td
@@
-125,6
+125,10
@@
def VSLDOI : VAForm_2<44, (ops VRRC:$vD, VRRC:$vA, VRRC:$vB, u5imm:$SH),
[(set VRRC:$vD,
(int_ppc_altivec_vsldoi VRRC:$vA, VRRC:$vB,
imm:$SH))]>;
+def VSEL : VAForm_1<42, (ops VRRC:$vD, VRRC:$vA, VRRC:$vB, VRRC:$vC),
+ "vsel $vD, $vA, $vB, $vC", VecFP,
+ [(set VRRC:$vD,
+ (int_ppc_altivec_vsel VRRC:$vA, VRRC:$vB, VRRC:$vC))]>;
// VX-Form instructions. AltiVec arithmetic ops.
def VADDCUW : VXForm_1<384, (ops VRRC:$vD, VRRC:$vA, VRRC:$vB),