On Wed, Aug 12, 2015 at 11:16:41AM +0100, Matthew Wahab wrote: > ARMv8.1 adds instructions for atomic compare-and-swap with optional > memory ordering specifiers. This patch adds tests for the > compare-and-swap instructions as two files. The first is support code to > run the test with a range of types and memory models, the second is the > test for the CAS instruction. > > Tested the series for aarch64-none-linux-gnu with native bootstrap and make > check and for aarch64-none-elf with cross-compiled check-gcc. Also tested > aarch64-none-elf with cross-compiled check-gcc on an emulator that supports > ARMv8.1. > > Ok for trunk? > Matthew
OK, but please write a follow-up to fix the pre-existing tests. Thanks, James > > gcc/testsuite > 2015-08-12 Matthew Wahab <matthew.wa...@arm.com> > > * gcc.target/aarch64/atomic-inst-cas.c: New. > * gcc.target/aarch64/atomic-inst-ops.inc: New. >