Commit Graph

121 Commits (566bb28dba963a1904e0889b74fe7005a5bc5eb8)

Author SHA1 Message Date
Olivier Houchard 2868848a2f ck_pr/ppc: Get the right prototype for ck_pr_cas_ptr_value().
8 years ago
Olivier Houchard 5ae12a19d0 gcc/ck_pr: Try to make sure the compiler isn't unhappy about constness.
8 years ago
Olivier Houchard 1c9257af77 ck_pr: missed a few occurrences of stdbool.h that should be ck_stdbool.h.
8 years ago
Olivier Houchard 2159452170 ck_pr/aarch64: Use the right asm constraints.
8 years ago
Olivier Houchard 7c456ca778 ck_pr/aarch64: That should be CK_PR_AARCH64_H, not CK_PR_ARM_H
8 years ago
Olivier Houchard 92aabcade0 ck_pr: First cut at an aarch64 native implementation.
8 years ago
Olivier Houchard 9c072391cf ck_pr/arm : We never defined CK_PR_CAS_S, so there's no need to undef it.
8 years ago
alfredo bc594bf809 use __restrict__ under GCC to support both C++ and C
8 years ago
Samy Al Bahra 52f42c4392 ck_pr: Add ck_pr_fence_acqrel.
9 years ago
Olivier Houchard 27fb1bc00f ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
Samy Al Bahra 414ba224ca ck_cc: Add FORCE_INLINE attribute and remove stale comments.
9 years ago
Olivier Houchard 37d94f4f4e ck_pr/arm : Add load, store and CAS for double.
9 years ago
Michael Haberler abc8e871af arm/c++: cast arguments using CK_CPP_CAST
9 years ago
Michael Haberler 9911e46c7d x86_64/c++: cast arguments using CK_CPP_CAST
9 years ago
Olivier Houchard d2ee99b7f4 ck_pr/arm : Tell the compiler to which "1" he should jump to.
9 years ago
Michael Haberler ac1c170b29 CK_PR_ACCESS: use __typeof__ instead of typeof
9 years ago
Olivier Houchard 1c3501a524 ck_pr/arm : Don't try to build the 64bits version of CAS for armv6 either.
9 years ago
Olivier Houchard 005c06f9e2 ck_pr/arm: There's no need to force the use of r4, r5 and r6 anymore, this should fix issue #50
9 years ago
Olivier Houchard b002ed5f11 ck_pr/arm: Don't use ldrexd/strexd if we're building for armv6.
9 years ago
Olivier Houchard b202a8224a ck_pr/arm: Rename ck_pr_[load|store]_64 to ck_pr_md_[load|store]_64, as it should have been done.
9 years ago
Samy Al Bahra 3971541783 ppc: lwsync is the right thing for WB-memory.
10 years ago
Samy Al Bahra a5b4ca9ffc ck_pr/ppc64: Use unsafe for ugly aliasing hack.
10 years ago
Samy Al Bahra 1537c8091d ck_pr: Introduce ck_pr_fence_lock and fence_unlock.
10 years ago
Samy Al Bahra 787cffe9c9 ck_pr/arm: store_load requires DMB.
10 years ago
Olivier Houchard 477b37b249 gcc/ck_pr: I made up my mind, ck_pr_stale() has to provide a compiler barrier.
10 years ago
Olivier Houchard a30c54f64a gcc/ck_pr: Revert previous commit
10 years ago
Olivier Houchard 6dc4d2664f gcc/ck_pr: ck_pr_stall() should act as a compiler barrier too.
10 years ago
Samy Al Bahra 63d6c00c3d gcc/ck_pr: GCC-backed primitives should serve as compiler barriers.
10 years ago
Olivier Houchard 780a573fb2 ck_pr: Rename ck_pr_[load|store]_ptr to ck_pr_md_[load|store]_ptr in the
10 years ago
Samy Al Bahra c217428f1b whitespace/gcc: Missed some files during EOF sweep.
10 years ago
Samy Al Bahra b8be614461 ck_cc: Add DECONST_PTR and RESTRICT.
10 years ago
John Wittrock 4ef225172e Make ck_pr_store_* and ck_pr_load_* a bit more type safe.
10 years ago
Olivier Houchard 421d4d1901 arm/ck_pr: Make sure 64bits load/store are atomic.
10 years ago
Emilio G. Cota c1381a4e24 arm/ck_pr: add missing conversion to CK_ namespace
10 years ago
Samy Al Bahra 554e2f0874 whitespace: Strictly conform to C namespacing rules.
10 years ago
Samy Al Bahra 4214561c97 ck_pr: (Re-)introduce ck_pr_rfo.
10 years ago
Samy Al Bahra 1474471445 ck_pr: Add basic ck_pr_rfo interface.
10 years ago
Samy Al Bahra 0dfd145aa6 whitespace: Update Copyright messages.
10 years ago
Samy Al Bahra ae3a579216 ppc*: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra a6ac5b81fb x86_64: Add const qualifier to load_ptr_2.
10 years ago
Samy Al Bahra 9d59c3d004 x86: -Wcast-qual clean-up.
10 years ago
Samy Al Bahra 7d70240449 general: First pass cast qualifier warning fixes.
10 years ago
Olivier Houchard 0f7827f479 ck_pr: Prettify the arm bits.
10 years ago
Samy Al Bahra d6ba2a6273 whitespace: Sweeping whitespace changes.
10 years ago
Marcin Juszkiewicz de0e582eba Add ck_pr_fence_acquire/release to generic GCC version
11 years ago
Paul Khuong 96fdf1efbd ck_cc: new bitwise ops
11 years ago
Samy Al Bahra f8b41af77c x86_64: Require 32-bit immediate values for expansion.
11 years ago
Samy Al Bahra c197b37df1 legal: Update Copyright statements.
11 years ago
Samy Al Bahra 661f3948ed ck_pr: Add acquire and release fences.
11 years ago
Samy Al Bahra 4af7571990 ck_pr/arm: Remove extraneous newline.
11 years ago