ck_pr/arm : Don't try to build the 64bits version of CAS for armv6 either.

ck_pring
Olivier Houchard 9 years ago
parent 005c06f9e2
commit 1c3501a524

@ -20,8 +20,10 @@
#define CK_F_PR_CAS_16_VALUE #define CK_F_PR_CAS_16_VALUE
#define CK_F_PR_CAS_32 #define CK_F_PR_CAS_32
#define CK_F_PR_CAS_32_VALUE #define CK_F_PR_CAS_32_VALUE
#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
#define CK_F_PR_CAS_64 #define CK_F_PR_CAS_64
#define CK_F_PR_CAS_64_VALUE #define CK_F_PR_CAS_64_VALUE
#endif
#define CK_F_PR_CAS_8 #define CK_F_PR_CAS_8
#define CK_F_PR_CAS_8_VALUE #define CK_F_PR_CAS_8_VALUE
#define CK_F_PR_CAS_CHAR #define CK_F_PR_CAS_CHAR
@ -29,8 +31,10 @@
#define CK_F_PR_CAS_INT #define CK_F_PR_CAS_INT
#define CK_F_PR_CAS_INT_VALUE #define CK_F_PR_CAS_INT_VALUE
#define CK_F_PR_CAS_PTR #define CK_F_PR_CAS_PTR
#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
#define CK_F_PR_CAS_PTR_2 #define CK_F_PR_CAS_PTR_2
#define CK_F_PR_CAS_PTR_2_VALUE #define CK_F_PR_CAS_PTR_2_VALUE
#endif
#define CK_F_PR_CAS_PTR_VALUE #define CK_F_PR_CAS_PTR_VALUE
#define CK_F_PR_CAS_SHORT #define CK_F_PR_CAS_SHORT
#define CK_F_PR_CAS_SHORT_VALUE #define CK_F_PR_CAS_SHORT_VALUE

@ -192,8 +192,6 @@ ck_pr_md_store_64(const uint64_t *target, uint64_t value)
: "memory", "cc"); : "memory", "cc");
} }
#endif
CK_CC_INLINE static bool CK_CC_INLINE static bool
ck_pr_cas_64_value(uint64_t *target, uint64_t compare, uint64_t set, uint64_t *value) ck_pr_cas_64_value(uint64_t *target, uint64_t compare, uint64_t set, uint64_t *value)
{ {
@ -262,6 +260,8 @@ ck_pr_cas_ptr_2(void *target, void *compare, void *set)
return (ck_pr_cas_64(target, __compare, __set)); return (ck_pr_cas_64(target, __compare, __set));
} }
#endif
CK_CC_INLINE static bool CK_CC_INLINE static bool
ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *value) ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *value)
{ {

Loading…
Cancel
Save