From 3467cd0d03243164a4dbe44f773701a3e1bccaba Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 7 Dec 2010 22:02:48 +0000 Subject: Add an operator for vmull_lane so it can be implemented without a clang builtin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121187 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/NeonEmitter.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils/TableGen/NeonEmitter.cpp') diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index 7fdc1cacd6..d3a068091c 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp @@ -601,6 +601,11 @@ static std::string GenOpString(OpKind op, const std::string &proto, Extend(proto, typestr, Duplicate(nElts << (int)quad, typestr, "__b")) + ";"; break; + case OpMullLane: + s += Extend(proto, typestr, "__a") + " * " + + Extend(proto, typestr, + SplatLane(nElts, "__b", "__c")) + ";"; + break; case OpMull: s += Extend(proto, typestr, "__a") + " * " + Extend(proto, typestr, "__b") + ";"; -- cgit v1.2.3-70-g09d2