[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 23 11:54:39 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCInstrInfo.td updated: 1.203 -> 1.204
---
Log message:
Add PPC vector bit-convert support
---
Diffs of the changes: (+3 -0)
PPCInstrInfo.td | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.203 llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.204
--- llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.203 Tue Mar 21 23:30:33 2006
+++ llvm/lib/Target/PowerPC/PPCInstrInfo.td Thu Mar 23 13:54:27 2006
@@ -1210,6 +1210,9 @@
def : Pat<(v4i32 (undef)), (v4i32 (IMPLICIT_DEF_VRRC))>;
+// bit_convert
+def : Pat<(v4i32 (bitconvert (v4f32 VRRC:$src))), (v4i32 VRRC:$src)>;
+def : Pat<(v4f32 (bitconvert (v4i32 VRRC:$src))), (v4f32 VRRC:$src)>;
// Same as above, but using a temporary. FIXME: implement temporaries :)
/*
More information about the llvm-commits
mailing list