[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Fri Mar 24 23:06:08 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCInstrInfo.td updated: 1.208 -> 1.209
---
Log message:
Add support for __builtin_altivec_vnmsubfp /vmaddfp
---
Diffs of the changes: (+5 -0)
PPCInstrInfo.td | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.208 llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.209
--- llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.208 Sat Mar 25 00:12:06 2006
+++ llvm/lib/Target/PowerPC/PPCInstrInfo.td Sat Mar 25 01:05:55 2006
@@ -1208,6 +1208,11 @@
def : Pat<(PPCvnmsubfp VRRC:$A, VRRC:$B, VRRC:$C),
(VNMSUBFP VRRC:$A, VRRC:$B, VRRC:$C)>;
+def : Pat<(int_ppc_altivec_vmaddfp VRRC:$A, VRRC:$B, VRRC:$C),
+ (VMADDFP VRRC:$A, VRRC:$B, VRRC:$C)>;
+def : Pat<(int_ppc_altivec_vnmsubfp VRRC:$A, VRRC:$B, VRRC:$C),
+ (VNMSUBFP VRRC:$A, VRRC:$B, VRRC:$C)>;
+
// Standard shifts. These are represented separately from the real shifts above
// so that we can distinguish between shifts that allow 5-bit and 6-bit shift
// amounts.
More information about the llvm-commits
mailing list