HomeFreeBSD

arm64: add tests for swp/swpb emulation

Description

arm64: add tests for swp/swpb emulation

One test is suitable to be hooked up to the build, so I've done this
here. The other test lives in tools/regression because failure is a
bit more subjective -- generally, one runs it for some unbounded amount
of time and observe if it eventually exits because two threads acquired
the same mutex.

Reviewed by: imp, mmel
Sponsored by: Stormshield
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D39668

Details

Provenance
kevansAuthored on May 15 2023, 3:42 PM
Reviewer
imp
Differential Revision
D39668: arm64: add tests for swp/swpb emulation
Parents
rG4b500174dd2d: arm64: emulate swp/swpb instructions
Branches
Unknown
Tags
Unknown