[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrAltivec.td
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 3 17:05:26 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCInstrAltivec.td updated: 1.31 -> 1.32
---
Log message:
Plug in the byte and short splats
---
Diffs of the changes: (+4 -2)
PPCInstrAltivec.td | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCInstrAltivec.td
diff -u llvm/lib/Target/PowerPC/PPCInstrAltivec.td:1.31 llvm/lib/Target/PowerPC/PPCInstrAltivec.td:1.32
--- llvm/lib/Target/PowerPC/PPCInstrAltivec.td:1.31 Mon Apr 3 10:58:28 2006
+++ llvm/lib/Target/PowerPC/PPCInstrAltivec.td Mon Apr 3 19:05:13 2006
@@ -293,10 +293,12 @@
def VSPLTB : VXForm_1<524, (ops VRRC:$vD, u5imm:$UIMM, VRRC:$vB),
"vspltb $vD, $vB, $UIMM", VecPerm,
- []>;
+ [(set VRRC:$vD, (vector_shuffle (v16i8 VRRC:$vB), (undef),
+ VSPLT_shuffle_mask:$UIMM))]>;
def VSPLTH : VXForm_1<588, (ops VRRC:$vD, u5imm:$UIMM, VRRC:$vB),
"vsplth $vD, $vB, $UIMM", VecPerm,
- []>;
+ [(set VRRC:$vD, (vector_shuffle (v8i16 VRRC:$vB), (undef),
+ VSPLT_shuffle_mask:$UIMM))]>;
def VSPLTW : VXForm_1<652, (ops VRRC:$vD, u5imm:$UIMM, VRRC:$vB),
"vspltw $vD, $vB, $UIMM", VecPerm,
[(set VRRC:$vD, (vector_shuffle (v4f32 VRRC:$vB), (undef),
More information about the llvm-commits
mailing list