Commit Graph

44 Commits (b55413d77f96b9fa2dfae4ddec43412b90ebf588)

Author SHA1 Message Date
Noah Misch 30ee5d17c2 For all ppc compilers, implement compare_exchange and fetch_add with asm. 6 years ago
Noah Misch 87e9fae069 Revert "For all ppc compilers, implement pg_atomic_fetch_add_ with inline asm." 6 years ago
Noah Misch e7ff59686e For all ppc compilers, implement pg_atomic_fetch_add_ with inline asm. 6 years ago
Noah Misch dd50f1a432 Replace xlc __fetch_and_add() with inline asm. 6 years ago
Michael Paquier 6b8548964b Fix inconsistencies in the code 6 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Andres Freund 8c3debbbf6 Fix and improve pg_atomic_flag fallback implementation. 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Tom Lane bfea92563c Further marginal hacking on generic atomic ops. 8 years ago
Tom Lane e09db94c0a Use more of gcc's __sync_fetch_and_xxx builtin functions for atomic ops. 8 years ago
Tom Lane e530be9685 Remove duplicate reads from the inner loops in generic atomic ops. 8 years ago
Magnus Hagander a4777f3556 Remove symbol WIN32_ONLY_COMPILER 9 years ago
Magnus Hagander 6da56f3f84 Remove support for bcc and msvc standalone libpq builds 9 years ago
Andres Freund f13a9121f9 Fix issues in e8fdbd58fe. 9 years ago
Andres Freund e8fdbd58fe Improve 64bit atomics support. 9 years ago
Andres Freund f8f1430ae7 Enable 64 bit atomics on ARM64. 9 years ago
Tom Lane 9e3755ecb2 Remove useless duplicate inclusions of system header files. 9 years ago
Tom Lane 698127a4a9 Prefer int-wide pg_atomic_flag over char-wide when using gcc intrinsics. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Andres Freund b0779abb3a Fix fallback implementation of pg_atomic_write_u32(). 9 years ago
Noah Misch 213c7df033 Impose a full barrier in generic-xlc.h atomics functions. 10 years ago
Noah Misch 5882ca6686 Call xlc __isync() after, not before, associated compare-and-swap. 10 years ago
Noah Misch 9449c4b1ec Replace broken link in comment. 10 years ago
Magnus Hagander cf7dfbf2d6 Fix minor typo in comment 10 years ago
Magnus Hagander 2650486ebc Fix typo in comment 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Tom Lane cf25b2a2f9 Allow icc to use the same atomics infrastructure as gcc. 10 years ago
Andres Freund de6fd1c898 Rely on inline functions even if that causes warnings in older compilers. 10 years ago
Noah Misch 0d32d2e693 Finish generic-xlc.h draft atomics implementation. 10 years ago
Bruce Momjian befa3e648c Revert 9.5 pgindent changes to atomics directory files 10 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 10 years ago
Heikki Linnakangas 4fc72cc7bb Collection of typo fixes. 10 years ago
Andres Freund bbfd7edae5 Add macros wrapping all usage of gcc's __attribute__. 11 years ago
Heikki Linnakangas 3dfce37627 Fix typos in comment. 11 years ago
Andres Freund de6429a8fd Provide a generic fallback for pg_compiler_barrier using an extern function. 11 years ago
Andres Freund db4ec2ffce Fix alignment of pg_atomic_uint64 variables on some 32bit platforms. 11 years ago
Andres Freund 93be095007 Move comment about sun cc's __machine_rw_barrier being a full barrier. 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Andres Freund 4a54b99e9c Add native compiler and memory barriers for solaris studio. 11 years ago
Andres Freund f9f07411a5 Further atomic ops portability improvements and bug fixes. 11 years ago
Peter Eisentraut d11339c099 Fix whitespace 11 years ago
Andres Freund f18cad9449 Fix atomic ops inline x86 inline assembly for older 32bit gccs. 11 years ago
Andres Freund 88bcdf9da5 Fix atomic ops for x86 gcc compilers that don't understand atomic intrinsics. 11 years ago
Andres Freund b64d92f1a5 Add a basic atomic ops API abstracting away platform/architecture details. 11 years ago