summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-04-03 14:40:16 +0000
committerHal Finkel <hfinkel@anl.gov>2013-04-03 14:40:16 +0000
commit0c6d21933a8eabe5a5cb58b17f25ab2cbbd5799e (patch)
tree37cdb38e8d2b92fdda79a5709203a620eda6c5ee /llvm/lib/Target
parent2ed21a8ca60701c47576cfd39b4ba8e2e694712e (diff)
downloadbcm5719-llvm-0c6d21933a8eabe5a5cb58b17f25ab2cbbd5799e.tar.gz
bcm5719-llvm-0c6d21933a8eabe5a5cb58b17f25ab2cbbd5799e.zip
PPC: Add a FIXME regarding the non-working fma+fneg Altivec pattern
llvm-svn: 178658
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrAltivec.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrAltivec.td b/llvm/lib/Target/PowerPC/PPCInstrAltivec.td
index 572424e3be1..a5ba4c8aebe 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrAltivec.td
+++ b/llvm/lib/Target/PowerPC/PPCInstrAltivec.td
@@ -318,6 +318,8 @@ def VMADDFP : VAForm_1<46, (outs VRRC:$vD), (ins VRRC:$vA, VRRC:$vC, VRRC:$vB),
"vmaddfp $vD, $vA, $vC, $vB", VecFP,
[(set v4f32:$vD,
(fma v4f32:$vA, v4f32:$vC, v4f32:$vB))]>;
+
+// FIXME: The fma+fneg pattern won't match because fneg is not legal.
def VNMSUBFP: VAForm_1<47, (outs VRRC:$vD), (ins VRRC:$vA, VRRC:$vC, VRRC:$vB),
"vnmsubfp $vD, $vA, $vC, $vB", VecFP,
[(set v4f32:$vD, (fneg (fma v4f32:$vA, v4f32:$vC,
OpenPOWER on IntegriCloud