diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-25 07:05:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-25 07:05:55 +0000 |
commit | 5a2025465b773e4c7f43f196ca8067ef6221f75f (patch) | |
tree | 1aaa83909970462d4edfbee027a04785fd4da03d | |
parent | ae5482618bc0c21212e6f43ce1c6508f7392b2ff (diff) | |
download | external_llvm-5a2025465b773e4c7f43f196ca8067ef6221f75f.zip external_llvm-5a2025465b773e4c7f43f196ca8067ef6221f75f.tar.gz external_llvm-5a2025465b773e4c7f43f196ca8067ef6221f75f.tar.bz2 |
Add support for __builtin_altivec_vnmsubfp /vmaddfp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27112 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 4ac06a6..aa4679a 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -1208,6 +1208,11 @@ def : Pat<(PPCvmaddfp VRRC:$A, VRRC:$B, VRRC:$C), 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. |