[RFA] Reenable mov lowreg, lowreg for Thumb when no -mcpu specified on command line.
Matthew Gretton-Dann
matthew.gretton-dann@arm.com
Fri Nov 25 14:20:00 GMT 2011
All,
The recent change to disallow mov lowreg, lowreg in Thumb pre-v6
unfortunately stopped the assembler accepting this form of mov when no
CPU had been specified on the command-line. This was noticed as the
testsuite test "Invalid SP and PC operands test - THUMB" started failing.
The attached patch fixes this and also ensures we note we have used a v6
feature so that the output attributes are set correctly in this case.
This was tested arm-none-eabi.
Can someone please review?
Original patch which introduced the failure here:
http://sourceware.org/ml/binutils/2011-11/msg00171.html
Thanks,
Matt
gas/ChangeLog:
2011-11-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gas/config/tc-arm.c (do_t_mov_cmp): Allow MOV lowreg, lowreg
when no CPU is specified.
gas/testsuite/ChangeLog:
2011-11-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gas/arm/mov-highregs-any.d: New testcase.
* gas/arm/mov-highregs-any.s: Likewise.
* gas/arm/mov-lowregs-any.d: Likewise.
* gas/arm/mov-lowregs-any.s: Likewise.
--
Matthew Gretton-Dann
Principal Engineer, PD Software - Tools, ARM Ltd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1111-lowregs.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20111125/ea28c0dc/attachment.txt>
More information about the Binutils
mailing list