HomeFreeBSD

Pull in r200453 from upstream llvm trunk:

Description

Pull in r200453 from upstream llvm trunk:

Implement SPARCv9 atomic_swap_64 with a pseudo.

The SWAP instruction only exists in a 32-bit variant, but the 64-bit
atomic swap can be implemented in terms of CASX, like the other
atomic rmw primitives.

Submitted by: rdivacky

Details

Provenance
dimAuthored on
Parents
rS262263: Add Makefile glue to build the Sparc backend libraries and link them
Branches
Unknown
Tags
Unknown

Event Timeline