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 | f653cdd3f99435010e8a22c4b5472ef97c25ddad (patch) | |
| tree | 0b82af42aca20defa7270d462de238f554ee87cd /llvm/lib/Target/PowerPC | |
| parent | 3dc5fef2c991d41dbac12ec27f5ca94bf118717d (diff) | |
| download | bcm5719-llvm-f653cdd3f99435010e8a22c4b5472ef97c25ddad.tar.gz bcm5719-llvm-f653cdd3f99435010e8a22c4b5472ef97c25ddad.zip | |
Add support for __builtin_altivec_vnmsubfp /vmaddfp
llvm-svn: 27112
Diffstat (limited to 'llvm/lib/Target/PowerPC')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td index 4ac06a6f76e..aa4679a8ecf 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td +++ b/llvm/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. |

