[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrAltivec.td
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 26 14:38:56 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCInstrAltivec.td updated: 1.10 -> 1.11
---
Log message:
add vsel
---
Diffs of the changes: (+4 -0)
PPCInstrAltivec.td | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCInstrAltivec.td
diff -u llvm/lib/Target/PowerPC/PPCInstrAltivec.td:1.10 llvm/lib/Target/PowerPC/PPCInstrAltivec.td:1.11
--- llvm/lib/Target/PowerPC/PPCInstrAltivec.td:1.10 Sun Mar 26 04:06:40 2006
+++ llvm/lib/Target/PowerPC/PPCInstrAltivec.td Sun Mar 26 16:38:43 2006
@@ -125,6 +125,10 @@
[(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),
More information about the llvm-commits
mailing list