Ah, I had forgotten about the fact that ACLE itself specifies the arm_acle.h
header.
================
Comment at: lib/Headers/arm_acle.h:78
@@ +77,3 @@
+#if __ARM_32BIT_STATE
+#define __ssat(x, y) __builtin_arm_ssat(x, y)
+#define __usat(x, y) __builtin_arm_usat(x, y)
----------------
Why are these macros and the others static inline functions? It should be
possible to do that here as well I believe?
static __inline__ int32_t __attribute__ (( always_inline, nodebug ))
__ssat(int32_t x, unsigned int y) {
return __builtin_arm_ssat(x, y);
}
static __inline__ uint32_t __attribute__ (( always_inline, nodebug ))
__usat(int32_t x, unsigned int y) {
return __builtin_arm_usat(x, y);
}
http://reviews.llvm.org/D4296
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits