Re: [Aarch64][2/3] Use the atomic compare-and-swap instructions when available.

2015-08-12 Thread James Greenhalgh
On Wed, Aug 12, 2015 at 11:15:25AM +0100, Matthew Wahab wrote: > ARMv8.1 adds instructions for atomic compare-and-swap with optional memory > ordering specifiers. This patch adds the compare-and-swap instructions and > changes the atomic_compare_and_swap patterns to use them > > The changes to the

[Aarch64][2/3] Use the atomic compare-and-swap instructions when available.

2015-08-12 Thread Matthew Wahab
ARMv8.1 adds instructions for atomic compare-and-swap with optional memory ordering specifiers. This patch adds the compare-and-swap instructions and changes the atomic_compare_and_swap patterns to use them The changes to the atomic_compare_and_swap pattern makes the new instructions available as