This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA/ARM 02/21] Mark SWP as obsolete.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: binutils at sourceware dot org
- Date: Thu, 23 Aug 2012 17:28:16 +0100
- Subject: Re: [RFA/ARM 02/21] Mark SWP as obsolete.
- References: <cover.1345733341.git.matthew.gretton-dann@arm.com> <20120823145510.GE4624@e103070-lin.arm.com>
On 23/08/12 15:55, Matthew Gretton-Dann wrote:
>
> ARMv8 obsoletes the SWP{B} instructions.
>
> This patch updates the assembler to error in this case.
>
> gas/ChangeLog:
> 2012-08-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
>
> * config/tc-arm.c (check_obsolete): New function.
> (do_rd_rm_rn): Check swp{b} for obsoletion.
>
> gas/testsuite/ChangeLog:
> 2012-08-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
>
> * gas/arm/armv8-a-bad.d: New testcase.
> * gas/arm/armv8-a-bad.l: Likewise.
> * gas/arm/armv8-a-bad.s: Likewise.
> * gas/arm/depr-swp.l: Update for change in expected output.
> * gas/arm/depr-swp.s: Add additional test.
>
> include/ChangeLog:
> 2012-08-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
>
> * opcode/arm.h (ARM_CPU_IS_ANY): New define.
>
OK.
R.