summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/NeonEmitter.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-12-10 06:37:53 +0000
committerBob Wilson <bob.wilson@apple.com>2010-12-10 06:37:53 +0000
commit49590148504ec0f9939943704f68e99d35e96895 (patch)
treee3629492fdcce6a48968472f5c0c13e488bf9040 /llvm/utils/TableGen/NeonEmitter.cpp
parent4c4a00a10b0e1be931d1452b987dfedaa9c0d44f (diff)
downloadbcm5719-llvm-49590148504ec0f9939943704f68e99d35e96895.tar.gz
bcm5719-llvm-49590148504ec0f9939943704f68e99d35e96895.zip
The Neon vqdmlsl_lane and vqdmlal_lane intrinsics have 4 arguments, not 3.
llvm-svn: 121469
Diffstat (limited to 'llvm/utils/TableGen/NeonEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/NeonEmitter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/NeonEmitter.cpp b/llvm/utils/TableGen/NeonEmitter.cpp
index 335c32b0e9b..1d311041325 100644
--- a/llvm/utils/TableGen/NeonEmitter.cpp
+++ b/llvm/utils/TableGen/NeonEmitter.cpp
@@ -665,12 +665,12 @@ static std::string GenOpString(OpKind op, const std::string &proto,
SplatLane(nElts, "__b", "__c") + ");";
break;
case OpQDMlalLane:
- s += MangleName("vqdmlal", typestr, ClassS) + "(__a, " +
- SplatLane(nElts, "__b", "__c") + ");";
+ s += MangleName("vqdmlal", typestr, ClassS) + "(__a, __b, " +
+ SplatLane(nElts, "__c", "__d") + ");";
break;
case OpQDMlslLane:
- s += MangleName("vqdmlsl", typestr, ClassS) + "(__a, " +
- SplatLane(nElts, "__b", "__c") + ");";
+ s += MangleName("vqdmlsl", typestr, ClassS) + "(__a, __b, " +
+ SplatLane(nElts, "__c", "__d") + ");";
break;
case OpQDMulhLane:
s += MangleName("vqdmulh", typestr, ClassS) + "(__a, " +
OpenPOWER on IntegriCloud