The Neon vqdmlsl_lane and vqdmlal_lane intrinsics have 4 arguments, not 3.
authorBob Wilson <bob.wilson@apple.com>
Fri, 10 Dec 2010 06:37:53 +0000 (06:37 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 10 Dec 2010 06:37:53 +0000 (06:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121469 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/NeonEmitter.cpp

index 335c32b0e9bea39b05eb8d54a75f51fbd513a62e..1d3110413252d3f7d40aff9de7bd625d1c4f49b0 100644 (file)
@@ -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, " +