[cfe-commits] r130765 - /cfe/trunk/include/clang/Basic/BuiltinsARM.def

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Tue May 3 10:29:43 PDT 2011


Author: bruno
Date: Tue May  3 12:29:43 2011
New Revision: 130765

URL: http://llvm.org/viewvc/llvm-project?rev=130765&view=rev
Log:
Add a few ARM coprocessor builtins. The llvm side of the commit contains the intrinsics and matching patterns.

Modified:
    cfe/trunk/include/clang/Basic/BuiltinsARM.def

Modified: cfe/trunk/include/clang/Basic/BuiltinsARM.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/BuiltinsARM.def?rev=130765&r1=130764&r2=130765&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/BuiltinsARM.def (original)
+++ cfe/trunk/include/clang/Basic/BuiltinsARM.def Tue May  3 12:29:43 2011
@@ -30,6 +30,16 @@
 BUILTIN(__builtin_arm_vcvtr_f, "ffi", "nc")
 BUILTIN(__builtin_arm_vcvtr_d, "fdi", "nc")
 
+// Coprocessor
+BUILTIN(__builtin_arm_mcr, "vUiUiUiUiUiUi", "")
+BUILTIN(__builtin_arm_mcr2, "vUiUiUiUiUiUi", "")
+BUILTIN(__builtin_arm_mrc, "UiUiUiUiUiUi", "")
+BUILTIN(__builtin_arm_mrc2, "UiUiUiUiUiUi", "")
+BUILTIN(__builtin_arm_cdp, "vUiUiUiUiUiUi", "")
+BUILTIN(__builtin_arm_cdp2, "vUiUiUiUiUiUi", "")
+BUILTIN(__builtin_arm_mcrr, "vUiUiUiUiUi", "")
+BUILTIN(__builtin_arm_mcrr2, "vUiUiUiUiUi", "")
+
 // NEON
 #define GET_NEON_BUILTINS
 #include "clang/Basic/arm_neon.inc"





More information about the cfe-commits mailing list