[llvm-commits] [llvm] r160307 - /llvm/trunk/include/llvm/IntrinsicsMips.td
Simon Atanasyan
satanasyan at mips.com
Mon Jul 16 11:51:39 PDT 2012
Author: atanasyan
Date: Mon Jul 16 13:51:39 2012
New Revision: 160307
URL: http://llvm.org/viewvc/llvm-project?rev=160307&view=rev
Log:
MIPS: Create two definitions for __builtin_mips_shll_qb builtin.
The first variant accepts immediate number as the second argument.
The second variant accepts register operand as the second argument.
Modified:
llvm/trunk/include/llvm/IntrinsicsMips.td
Modified: llvm/trunk/include/llvm/IntrinsicsMips.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IntrinsicsMips.td?rev=160307&r1=160306&r2=160307&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IntrinsicsMips.td (original)
+++ llvm/trunk/include/llvm/IntrinsicsMips.td Mon Jul 16 13:51:39 2012
@@ -119,7 +119,9 @@
//===----------------------------------------------------------------------===//
// Shift
-def int_mips_shll_qb: GCCBuiltin<"__builtin_mips_shll_qb">,
+def int_mips_shll_qb:
+ Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], [IntrNoMem]>;
+def int_mips_shll_qb_v:
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], [IntrNoMem]>;
def int_mips_shrl_qb: GCCBuiltin<"__builtin_mips_shrl_qb">,
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], [IntrNoMem]>;
More information about the llvm-commits
mailing list