[cfe-commits] r120765 - /cfe/trunk/include/clang/Basic/arm_neon.td
Bob Wilson
bob.wilson at apple.com
Thu Dec 2 16:34:21 PST 2010
Author: bwilson
Date: Thu Dec 2 18:34:21 2010
New Revision: 120765
URL: http://llvm.org/viewvc/llvm-project?rev=120765&view=rev
Log:
Add support for "_lane" variants of VMUL, VMLA, and VMLS Neon intrinsics.
Modified:
cfe/trunk/include/clang/Basic/arm_neon.td
Modified: cfe/trunk/include/clang/Basic/arm_neon.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/arm_neon.td?rev=120765&r1=120764&r2=120765&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/arm_neon.td (original)
+++ cfe/trunk/include/clang/Basic/arm_neon.td Thu Dec 2 18:34:21 2010
@@ -23,6 +23,9 @@
def OP_MUL_N : Op;
def OP_MLA_N : Op;
def OP_MLS_N : Op;
+def OP_MUL_LN: Op;
+def OP_MLA_LN: Op;
+def OP_MLS_LN: Op;
def OP_EQ : Op;
def OP_GE : Op;
def OP_LE : Op;
@@ -282,13 +285,14 @@
////////////////////////////////////////////////////////////////////////////////
// E.3.25 Operations with a scalar value
-def VMLA_LANE : IInst<"ddddi", "siUsUifQsQiQUsQUiQf">;
+def VMLA_LANE : Inst<"ddddi", "siUsUifQsQiQUsQUiQf", OP_MLA_LN>;
def VMLAL_LANE : SInst<"wwddi", "siUsUi">;
def VQDMLAL_LANE : SInst<"wwddi", "si">;
-def VMLS_LANE : IInst<"ddddi", "siUsUifQsQiQUsQUiQf">;
+def VMLS_LANE : Inst<"ddddi", "siUsUifQsQiQUsQUiQf", OP_MLS_LN>;
def VMLSL_LANE : SInst<"wwddi", "siUsUi">;
def VQDMLSL_LANE : SInst<"wwddi", "si">;
def VMUL_N : Inst<"dds", "sifUsUiQsQiQfQUsQUi", OP_MUL_N>;
+def VMUL_LANE : Inst<"dddi", "sifUsUiQsQiQfQUsQUi", OP_MUL_LN>;
def VMULL_N : SInst<"wda", "siUsUi">;
def VMULL_LANE : SInst<"wddi", "siUsUi">;
def VQDMULL_N : SInst<"wda", "si">;
More information about the cfe-commits
mailing list