This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Aarch64][3/3] Add tests for atomic compare-and-swap instructions.
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Matthew Wahab <matthew dot wahab at foss dot arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 12 Aug 2015 12:25:58 +0100
- Subject: Re: [Aarch64][3/3] Add tests for atomic compare-and-swap instructions.
- Authentication-results: sourceware.org; auth=none
- References: <55CB1C0D dot 6070405 at foss dot arm dot com> <55CB1D09 dot 1050305 at foss dot arm dot com>
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.wahab@arm.com>
>
> * gcc.target/aarch64/atomic-inst-cas.c: New.
> * gcc.target/aarch64/atomic-inst-ops.inc: New.
>