HomeFreeBSD

riscv: Add implementations of atomic_testand(set|clear)_(32|64|long)

Description

riscv: Add implementations of atomic_testand(set|clear)_(32|64|long)

These use amoor and amoand rather than a loop.

Also define atomic_testandset_acq_(64|long) using amoor.aq.

Reviewed by: mhorne, kib
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D47627

Details

Provenance
jhbAuthored on Nov 19 2024, 3:19 PM
Reviewer
mhorne
Differential Revision
D47627: riscv: Add implementations of atomic_testand(set|clear)_(32|64|long)
Parents
rGca1f1d2c9419: release: Add missing dependencies in the minimal OCI image
Branches
Unknown
Tags
Unknown