[RFA/ARM 02/21] Mark SWP as obsolete.
Matthew Gretton-Dann
matthew.gretton-dann@arm.com
Thu Aug 23 14:56:00 GMT 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Mark-SWP-as-obsolete.txt
Type: text/x-patch
Size: 3704 bytes
Desc: 0002-Mark-SWP-as-obsolete.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20120823/8a0f420a/attachment.bin>
More information about the Binutils
mailing list