Commit Graph
12 Commits
Author SHA1 Message Date
Karoy Lorentey 299d1251f1 Regenerate gybbed sources 2021-08-27 17:19:56 -07:00
Karoy Lorentey eb7e1335f8 [NFC] Update copyright notices 2021-08-27 17:13:03 -07:00
Saleem Abdulrasool 67bbf646d8 build: add a CMake based build for Atomics
This adds an initial implementation of a CMake based build system.
2021-04-30 08:32:45 -07:00
Akis Kesoglou 7e101a5653 Mark the additional Bool methods as public
…inline with the static methods on AtomicStorage and AtomicIntegerStorage.
2021-03-14 19:20:38 +02:00
Karoy Lorentey 09ddcdd88d DoubleWord._readersBitWidth: Switch to using Int.bitWidth
This fixes a spurious warning about `arch(arm64_32)` emitted by swift.org compiler builds.

Resolves #19
2021-01-26 17:38:10 -08:00
Karoy Lorentey 47c88d732f Work around some compiler issues in Swift 5.2
This allows the package to be built with the Swift 5.2.4 toolchain.

Resolves #15
2020-11-09 13:52:03 -08:00
JP Simard 55a062c4a8 Fix typo in AtomicMemoryOrderings.swift docstring 2020-10-22 06:03:22 -07:00
Karoy Lorentey 9ad914d118 Make double-wide atomics conditional on platform support
Linux on x86_64 unfortunately disables support for cmpxchg16 by default, making double-wide atomic operations fall back to using locks. We cannot currently override this on the package level, so stop providing double-wide atomics in this configuration by default.

To enable codegen support for double-wide atomics on Linux/x86_64, compile the package with `-Xcc -mcx16 -Xswiftc -DENABLE_DOUBLEWIDE_ATOMICS`.
2020-10-09 14:52:33 -07:00
Daniel Jackson 42691f8636 Commit changes from running generate-sources 2020-10-02 16:29:09 -07:00
Daniel Jackson 778e62b8c6 Fix successOrdering typo in documentation, in the gyb file 2020-10-02 16:28:33 -07:00
Dan Jackson ad1fb15167 Update documentation typo: double ‘the’ 2020-10-02 09:28:57 -07:00
Karoy Lorentey b97750eb18 Initial commit. 2020-10-01 16:57:36 -07:00