HomeFreeBSD

arm: Fix atomic_testand{set,clear}_32(). According to atomic (9), the bit…

Description

arm: Fix atomic_testand{set,clear}_32(). According to atomic (9), the bit position argument should be a modulo operand size. While I'm in, add missing implementation of atomic_testandclear_64(). For more details see https://reviews.freebsd.org/D27886

Discused with: rlibby
MFC after: 3 weeks

Details

Provenance
mmelAuthored on Jan 2 2021, 7:30 PM
Parents
rG80aa931900c8: contrib: setup pnglite
Branches
Unknown
Tags
Unknown