concurrencykit / ck

Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.
http://concurrencykit.org/
Other
2.35k stars 312 forks source link

x86/ck_pr: fix register constraint for ck_pr_foo_is_zero #143

Closed pkhuong closed 5 years ago

pkhuong commented 5 years ago

setcc works with byte registers, so we want q to ensure the low byte register is encodable, not the general r.

Fixes https://github.com/concurrencykit/ck/issues/142.