This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch AArch64] Warn on unpredictable stlxrb , stlxrh and stlxr cases.
- From: Nick Clifton <nickc at redhat dot com>
- To: Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, binutils <binutils at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Thu, 28 Jun 2018 14:13:13 +0100
- Subject: Re: [Patch AArch64] Warn on unpredictable stlxrb , stlxrh and stlxr cases.
- References: <b1ac5508-bcec-d73c-3873-15eaedb0730d@arm.com>
Hi Ramana,
> A recent case in golang highlighted that gas wasn't warning on these
> unpredictable cases in the architecture. Fixed thusly.
> 2018-06-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
>
> * config/tc-aarch64.c (warn_unpredictable_ldst): Add unpredictable
> cases for ldxp, stlxrb, stlxrh, stlxr.
> * testsuite/gas/aarch64/diagnostic.s: New tests.
> * testsuite/gas/aarch64/diagnostic.l: Adjust.
Approved for mainline and the 2.31 branch.
Cheers
Nick