Commit Graph

140 Commits (master)

Author SHA1 Message Date
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
10 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
Olivier Houchard 259fb5174d ck_pr: Use the "dmb st" instruction on arm when available.
11 years ago
Samy Al Bahra 3c089d55e5 arm: Add support for cas_2 and other double-word operations.
11 years ago
Samy Al Bahra 5916485e9e ck_pr/arm: Implement support for Thumb 2 and fix incorrect CAS behavior.
11 years ago
Samy Al Bahra e1c0f6854d ck_pr/arm: Additional style clean-up.
11 years ago
Samy Al Bahra 1c97766039 ck_pr: First cut 32-bit ARM port.
11 years ago
Samy Al Bahra 5d8a273dbe whitespace: Bulk whitespace changes.
11 years ago
Samy Al Bahra f149dd09fe ck_pr: Add ck_pr_fence_strict_atomic for x86-64.
12 years ago
Samy Al Bahra 2ed965bfc2 ck_pr_rtm: Fix xtest output clobber identifier.
12 years ago
Samy Al Bahra 43a6628cf1 ck_pr: Initial support for TSX.
12 years ago
Samy Al Bahra cd53e928bf ck_cc: Add branch execution hint support for GCC.
12 years ago
Samy Al Bahra adbdfe6633 ck_pr: Get rid of ck_pr_fence_X_X functions.
12 years ago
Samy Al Bahra 214d7aed66 ck_pr: Implement ck_pr_fence_atomic in MD ck_pr.
12 years ago
Samy Al Bahra a4220f2377 ck_pr: Remove ck_pr_fence_load_depends from GCC port.
12 years ago
Samy Al Bahra d1dd6611ac ck_pr: Add ck_pr_fence_atomic interface.
12 years ago
Samy Al Bahra 5506ad2744 ck_pr: Move ck_pr_barrier to compiler port.
12 years ago
Samy Al Bahra cc8c3fb2db ck_pr/gcc: Fix style issue.
12 years ago
Samy Al Bahra 8311e9fcb4 ck_pr: Update GCC port and change ck_pr dependency path.
12 years ago
Samy Al Bahra 44b769963f ck_pr: ck_pr_fence_X_Y interface has been added.
12 years ago
Samy Al Bahra b7d258b219 ck_pr/gcc: ck_pr_fence_load_depends should be heavy-weight on catch-all target.
12 years ago
Joao Fernandes 086ebf7126 ck_pr: moving PPC32 to RMO.
12 years ago
Samy Al Bahra 33a9222923 legal: Update Copyright statements.
12 years ago
Samy Al Bahra b37ce19976 ck_pr/x86_64: GCC will attempt immediate expansion on double.
12 years ago
Samy Al Bahra 93684f77c1 ck_pr: Use CK_CC_INLINE instead of inline keyword for ck_pr_barrier.
12 years ago
Samy Al Bahra 1c7b8811c8 ck_pr/gcc: Remove useless assignment from volatile load.
12 years ago
Samy Al Bahra a9ed19303f ck_pr/gcc: Adopt const semantics for load/store in GCC port.
12 years ago
Samy Al Bahra 6de54d6aa5 ck_pr/x86_64: Use correct target for load_64_2.
12 years ago
Samy Al Bahra 12da4128ff ck_pr: Adopt const qualifer for load/store.
12 years ago
Samy Al Bahra e40521d1aa ck_pr/ppc64: Switch to RMO model for atomic operations.
12 years ago
Samy Al Bahra 52ca64b2b7 ck_pr/sparcv9: MemIssue is overly heavyweight.
12 years ago
Samy Al Bahra 3f217c9789 ck_pr: Fallback to RMO for PSO for this release.
12 years ago
Samy Al Bahra a1dc38f20e build/ck_pr: Add configurable memory models.
12 years ago
Samy Al Bahra fedc2f6e47 ck_pr/sparcv9: Assume TSO by default.
12 years ago
Samy Al Bahra 8043f52130 ck_pr: Add ck_pr_barrier for compiler barrier.
12 years ago
Samy Al Bahra bc19dccb1f ck_cc: Add CK_CC_BARRIER for compiler barrier.
12 years ago
Samy Al Bahra 65cf506af9 ck_cc: Add CK_CC_ALIASED attribute.
13 years ago
Samy Al Bahra 9bc4ede14e ck_pr/x86: Re-order includes.
13 years ago
Samy Al Bahra 5cc3e6f1fc ck_pr: Re-order includes.
13 years ago
Samy Al Bahra 3cf265cba0 all: Strip trailing whitespaces.
13 years ago
Samy Al Bahra 4251e6aa56 ck_pr: Update PPC32 header guard to be consistent.
13 years ago
Samy Al Bahra 70edc1f6cb ck_pr: Merge Joao's PPC32 support with some modifications.
13 years ago
Joao Fernandes 64b7f83417 Added support for 32-bit PowerPC CPUs. Untested!
13 years ago
Samy Al Bahra 706fd07de7 legal: Update Copyright statements.
13 years ago
Samy Al Bahra f5f5074b70 ck_pr: Cast down to void pointer for cmpxchg16b wrapper.
13 years ago
Samy Al Bahra e8a96f4fb8 ck_pr: Add ck_pr_fas_double for {ppc,x86_}64 and ck_pr_cas_double{_2} for x86_64.
13 years ago
Samy Al Bahra 5e7adf5983 ck_pr: Add respective feature flags for ck_pr_load/store_double.
13 years ago
William Irwin 41ef93744a ck_pr: Add ck_pr_load_double()/ck_pr_store_double() in case volatile loads and stores of floating point values are needed.
13 years ago
Samy Al Bahra 631d5f93f4 ck_pr/sparcv9: Recent SPARCs actually implement RSO.
14 years ago
sbahra 49a2820000 Added support for Sun Studio 12 C compiler.
14 years ago
Samy Al Bahra f6a2cb1b39 ck_pr/x86_32: Drop 64-bit operations. We just don't care enough about these right now.
14 years ago
Samy Al Bahra 492faed9a3 Reformatting changes for my new laptop.
14 years ago
Samy Al Bahra 386f3647cb x86_64: Remove workaround for Opteron errata, other minor clean-up.
14 years ago
Samy Al Bahra b882517d5e PPC64: Complete port, add binary write-only operations.
14 years ago
Samy Al Bahra 25f1fde7fa PPC64: Add fetch-and-add.
14 years ago
Samy Al Bahra f48a0c2480 PPC64: Add unary operations.
14 years ago
Samy Al Bahra 24abb2a3ac Merge branch 'master' of ssh://git.repnop.org/public/ck
14 years ago
Samy Al Bahra 90fee0d839 PPC64: Import minimal PPC64 port.
14 years ago
Samy Al Bahra a29a1c2a8c sparcv9: Whitespace change.
14 years ago
Samy Al Bahra 133e936744 sparcv9: Make use of CK_PR_FENCE macro.
14 years ago
Devon H. O'Dell e5a5d0e2b9 x86: Remove invalid comment about fixed bug.
14 years ago
Devon H. O'Dell ace2b787f5 x86: Implement ck_pr_load_32_2 in terms of movq
14 years ago
Devon H. O'Dell 0c8c054c0a x86: More PIC happiness
14 years ago
Devon H. O'Dell 114e9c8ed5 x86: Fix typo missed in last merge somehow
14 years ago
Devon H. O'Dell 18e1c646fa x86: Fix buglets
14 years ago
Devon H. O'Dell 000eb80099 x86: Make things friendlier for PIC and non-PIC builds
14 years ago
Devon H. O'Dell 8818191ec0 x86: additional changes for support on 32-bit archs
14 years ago
Samy Al Bahra b0f812296e Add feature flag for ck_pr_cas_32_value on SPARCv9.
14 years ago
Samy Al Bahra 809089d623 Revert "Commit additional x86 changes to make things work."
14 years ago
Devon H. O'Dell 0e548375f5 Commit additional x86 changes to make things work.
14 years ago
Devon H. O'Dell d4c9641c83 API: add atomics for 32-bit x86 architectures
14 years ago
Samy Al Bahra bcaadcf094 Factor out some common utility functions.
14 years ago
Samy Al Bahra cbd30b2206 Initial import.
14 years ago