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: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>
- Cc: binutils <binutils at sourceware dot org>, nd <nd at arm dot com>
- Date: Wed, 27 Jun 2018 14:05:24 +0100
- Subject: Re: [Patch AArch64] Warn on unpredictable stlxrb , stlxrh and stlxr cases.
- References: <b1ac5508-bcec-d73c-3873-15eaedb0730d@arm.com>
On Mon, Jun 18, 2018 at 11:00 AM, Ramana Radhakrishnan
<ramana.radhakrishnan@arm.com> wrote:
> A recent case in golang highlighted that gas wasn't warning on these
> unpredictable cases in the architecture. Fixed thusly.
>
> Tested aarch64-none-elf.
>
> Ok ?
>
Ping
Ramana
>
> regards
> Ramana
>
> 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.