On Wed, Aug 12, 2015 at 6:16 PM, Matthew Wahab
<matthew.wa...@foss.arm.com> 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?


I noticed you did not change the other cas testcases so they don't set
lse.  This can cause those testcases to fail if a cpu defaults to
having LSE.
I am going to be modifying a cpu to default to LSE enabled soonish.

Thanks,
Andrew

> Matthew
>
> 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.
>

Reply via email to