Skip to content

Releases: taiki-e/portable-atomic

1.13.1

31 Jan 16:04
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

portable-atomic-util 0.2.5

31 Jan 15:53
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

1.13.0

27 Dec 18:41
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Add unsafe-assume-privileged feature / portable_atomic_unsafe_assume_privileged cfg for safer lock-based fallback on multi-core privileged environments. (b084ee1)

  • Support unsafe-assume-single-core/unsafe-assume-privileged on all 32-bit Arm targets. Previously it was only M-profile and pre-v6 targets. (7e07f5e)

  • Make AtomicPtr::fetch_* strict-provenance compatible on all environments. Previously it was only strict-provenance compatible on cfg(miri) and otherwise permissive-provenance compatible. (4306943)

  • Ensure sequential consistency in lock-based fallback when SeqCst is used. (7e80742)

  • Support compile-time detection for x86_64 VMOVDQA. (f7bb1aa)

  • Improve compile-time detection of s390x miscellaneous-extensions-3. (11045fe)

  • Optimize AVR 8-bit swap when RMW instructions available. (8cedb34)

  • Optimize interrupt restore on RISC-V. (9b97a2a)

1.12.0

19 Dec 20:29
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Fix build error on no-std pre-v6 Arm targets due to the recent upstream change. (83f6f3e)

  • Support unsafe-assume-single-core feature / portable_atomic_unsafe_assume_single_core cfg for targets with CAS. (38e9572)

  • Improve compile-time detection of s390x target feature. (5ae0ef5)

  • Documentation improvements. (c84f720)

1.11.1

06 Jun 07:06
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Fix build error when building aarch64/arm64ec/powerpc64/s390x targets for Miri or ThreadSanitizer since nightly-2025-05-31.

  • aarch64: Optimize atomic floats when FEAT_LSFE is enabled. (#201)

  • Improve compile-time detection of RISC-V Zacas extension. (b7634e2)

  • Improve run-time detection on linux-musl. (7fdad7f)

1.11.0

24 Feb 13:31
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

1.10.0

23 Nov 21:11
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Update to stabilized s390x and Arm64EC inline assembly. (97645c1, e1d1a97)

  • Make get_mut const fn on Rust 1.83+. (0dea68c)

  • Make from_ptr const fn on Rust 1.83+. (align to the std atomic change in Rust 1.84) (50532d8)

  • Various optimizations:

    • RISC-V without A-extension: Optimize 16-bit fetch_not when Zabha enabled. (a487a09)
    • s390x: Optimize 128-bit CAS/RMW. (fba028d, 33ab2c1)
    • PowerPC64: Optimize 128-bit Acquire/AcqRel/SeqCst CAS/RMW and 128-bit CAS with Relaxed failure ordering. (33ab2c1)
    • AVR: Optimize 8-bit load/store. (33ab2c1)
  • Improve support of run-time detection and outline-atomics:

    • Enable run-time detection by default on powerpc64 and aarch64 linux-uclibc. (#193)
    • Improve run-time detection of powerpc64 quadword-atomics. (1e3bfda)
    • Improve run-time detection of Zhaoxin CPU. (f283d2a)
  • Support RISC-V Zacas extension on pre-1.82 rustc. (#194)

  • Improve compile-time detection of RISC-V Zaamo/Zabha extensions. (673137a)

  • Respect RUSTC_BOOTSTRAP=-1 recently added in nightly in rustc version detection. (5b2847a)

portable-atomic-util 0.2.4

23 Nov 05:17
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

portable-atomic-util 0.2.3

17 Oct 16:11
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

1.9.0

28 Sep 06:01
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • RISC-V without A-extension: Support RMW when Zaamo extension enabled (even when unsafe-assume-single-core disabled). (#185, 9983a8b)
    See "operations don't require disabling interrupts" list in interrupt module's readme for the operations provided.

  • Support run-time detection of RISC-V Zacas extension (currently disabled by default). (#183)

  • Support 128-bit atomics on Arm64EC (currently nightly-only) (#184)

  • Improve compile-time detection of powerpc64 quadword-atomics. (3eb8507)