[llvm-commits] [llvm] r78775 - /llvm/trunk/include/llvm/IntrinsicsARM.td

Bob Wilson bob.wilson at apple.com
Tue Aug 11 18:48:30 PDT 2009


Author: bwilson
Date: Tue Aug 11 20:48:30 2009
New Revision: 78775

URL: http://llvm.org/viewvc/llvm-project?rev=78775&view=rev
Log:
Add some comments to clarify the arguments to the vtbl and vtbx intrinsics.

Modified:
    llvm/trunk/include/llvm/IntrinsicsARM.td

Modified: llvm/trunk/include/llvm/IntrinsicsARM.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IntrinsicsARM.td?rev=78775&r1=78774&r2=78775&view=diff

==============================================================================
--- llvm/trunk/include/llvm/IntrinsicsARM.td (original)
+++ llvm/trunk/include/llvm/IntrinsicsARM.td Tue Aug 11 20:48:30 2009
@@ -300,12 +300,16 @@
 def int_arm_neon_vmovlu : Neon_1Arg_Long_Intrinsic;
 
 // Vector Table Lookup.
+// The first 1-4 arguments are the table.
 def int_arm_neon_vtbl1 : Neon_Tbl2Arg_Intrinsic;
 def int_arm_neon_vtbl2 : Neon_Tbl3Arg_Intrinsic;
 def int_arm_neon_vtbl3 : Neon_Tbl4Arg_Intrinsic;
 def int_arm_neon_vtbl4 : Neon_Tbl5Arg_Intrinsic;
 
 // Vector Table Extension.
+// Some elements of the destination vector may not be updated, so the original
+// value of that vector is passed as the first argument.  The next 1-4
+// arguments after that are the table.
 def int_arm_neon_vtbx1 : Neon_Tbl3Arg_Intrinsic;
 def int_arm_neon_vtbx2 : Neon_Tbl4Arg_Intrinsic;
 def int_arm_neon_vtbx3 : Neon_Tbl5Arg_Intrinsic;





More information about the llvm-commits mailing list