Olivier Houchard
d8d5b01a1a
Merge pull request #87 from akopytov/aarch64_timer
...
Add AArch64 timer support to rdtsc().
8 years ago
Alexey Kopytov
ab8f2b0344
Add AArch64 timer support to rdtsc().
...
Add support for RDTSC-like timer on AArch64. This is only used by the
internal regression/benchmark test suite.
8 years ago
Olivier Houchard
4a028fb517
Merge pull request #86 from akopytov/lse
...
AArch64 LSE support.
8 years ago
Alexey Kopytov
5f1be5dc83
AArch64 LSE support.
...
Add a new configure option, --enable-lse, which is only effective for
the AArch64 architecture. When used, most ck_pr_* atomics will use Large
System Extensions instructions as per the ARMv8.1 specification, rather
then LL/SC instruction pairs.
8 years ago
Olivier Houchard
dae84bac06
ck_pr/aarch64: style.
8 years ago
Olivier Houchard
4425c94ef7
ck_pr/aarch64: Don't forget the "cc" and "memory" clobbers.
8 years ago
Olivier Houchard
02af290b85
ck_pr: Add an option to disable any double function
8 years ago
Olivier Houchard
566bb28dba
Merge pull request #84 from hbowden/master
...
Add cygwin support.
8 years ago
Harry
92dfe0726c
Add cygwin support.
8 years ago
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.
...
We don't have to claim we will read the value from variables when we do not,
this was only done to work around a bug on some versions of gcc for arm
a while ago, hopefully this won't be needed here.
This should fix the (harmless) warnings described in issue #83 .
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.
...
This seems to survive a "make check" on a 48 cores arm64 board.
8 years ago
Olivier Houchard
1b461ca57a
regressions/ck_spinlock: Add ck_hclh to the check target.
8 years ago
Olivier Houchard
2552550256
regressions/ck_hp: Make sure stores are visible before attempting CAS.
8 years ago
Olivier Houchard
5530535f2a
doc: enfores => enforces
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
Samy Al Bahra
e9e45034f3
Merge pull request #82 from iamthebot/master
...
use __restrict__ under GCC to support both C++ and C
8 years ago
Samy Al Bahra
d113d23def
build: Bump version for release.
8 years ago
alfredo
bc594bf809
use __restrict__ under GCC to support both C++ and C
8 years ago
Samy Al Bahra
f449e90b3f
build: Fix clang detection to require major >= 3.
9 years ago
cognet
24133c8d31
Merge pull request #77 from guotie/patch-1
...
Update ck_ring.h
9 years ago
铁哥
4f01918cbb
Update ck_ring.h
...
fix bug
9 years ago
Olivier Houchard
0771af0163
doc: ck_epoch_poll now only takes one argument.
9 years ago
Samy Al Bahra
8ce1f45ee7
Merge pull request #73 from LebedevRI/ht
...
ck_ht: Call user-specified hash function, regression test included.
9 years ago
Roman Lebedev
3bb8e04def
ck_ht_hash(): actually use user-provided hash function
...
Fixes failing test that i have added in previous commit.
9 years ago
Roman Lebedev
b6d82a481a
Ht: regressions: validate serial: check that our hash function was actually called.
...
Of course, assumes that there won't be an overflow caueing
it to be exactly 0 in the end...
The test fails.
9 years ago
Samy Al Bahra
e60c05bb65
ck_epoch: Epoch goal must be ordered with respect prior operations.
9 years ago
Samy Al Bahra
03bd7a4158
regressions/ck_epoch: Change formatting.
9 years ago
Olivier Houchard
7f625a6fe1
ck_rhs: Make sure we zero all of the descs, not just the first one.
9 years ago
cognet
04f9c9d697
Merge pull request #69 from LebedevRI/master
...
ck_queue: update doc: no tail queue, add STAILQ description
9 years ago
Roman Lebedev
1a10ab230e
ck_queue: update doc: no tail queue, add STAILQ description
...
Singly-linked tail queue description is taken from sys/queue.h
9 years ago
Samy Al Bahra
42dd531427
doc: Change html target to just use text output.
9 years ago
Samy Al Bahra
2700010b84
[git] Additional .gitignore entries.
9 years ago
Samy Al Bahra
f97d3da5c3
regressions/ck_sequence: Use flag rather than counter value for first set.
...
Prevents resetting exit barrier on overflow. Otherwise, hangs occur
on higher-performing systems.
9 years ago
Samy Al Bahra
c06fd5739f
ck_epoch: Switch to full barrier semantics.
...
May as well capture synchronize -> non-temporal use-case.
9 years ago
Samy Al Bahra
ece3a24a4f
regressions/ck_epoch: Switch to heap allocated records for torture test.
9 years ago
Samy Al Bahra
5b64342668
regressions/ck_epoch: Remove counter dependencies from torture parity test.
9 years ago
Samy Al Bahra
f22f921576
regressions/ck_epoch_section_2: Switch to heap allocated records.
9 years ago
Samy Al Bahra
5999d8a243
regressions/ck_epoch: Shorten stack walk length for ck_epoch_synchronize.
...
This test was taking excessively long (read: hours) on some targets.
9 years ago
Samy Al Bahra
3a3562b96c
regressions/epoch: Add new torture test.
...
Verified with fault injection into ck_epoch_synchronize.
9 years ago
Samy Al Bahra
275908d246
regressions: Add ck_test convenience macro.
9 years ago
Samy Al Bahra
2686ca0223
ck_epoch: Bug fixes and performance improvements.
...
- ck_epoch_begin: Disallow early load of epoch as it leads to measurable
performance degradation in some benchmarks.
- ck_epoch_synchronize: Enforce barrier semantics.
9 years ago
Samy Al Bahra
87cdb9ea19
[whitespace] epoch: Make it crystal clear.
...
I had reverted this 3 years ago for some stupid reason.
9 years ago
Samy Al Bahra
84d92cd6a5
[whitespace] epoch: Update barrier comment in synchronize.
9 years ago
Samy Al Bahra
4f8e858410
build: Bump version for release.
9 years ago
Samy Al Bahra
c845efcb0a
regressions/epoch: Various clean-up including fixes for Windows.
9 years ago
Samy Al Bahra
c20593a05e
[whitespace] epoch: Fix comment.
9 years ago