This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, GAS/ARM] Fix expansion of ldr pseudo instruction
- From: Nick Clifton <nickc at redhat dot com>
- To: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>, Richard Earnshaw <richard dot earnshaw at arm dot com>, Alan Modra <amodra at gmail dot com>, binutils at sourceware dot org
- Date: Mon, 24 Apr 2017 14:07:39 +0100
- Subject: Re: [PATCH, GAS/ARM] Fix expansion of ldr pseudo instruction
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=nickc at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com B5C89C059758
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B5C89C059758
- References: <0a39721c-906b-677d-b156-81daa05fac09@foss.arm.com>
Hi Thomas,
> 2017-04-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
>
> * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
> Forbid MOV.W and MOVW if destination is SP or PC.
> * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
> expectation of LDR not generating a MOVS for low registers and small
> constants. Add tests of MOVW generation.
> * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
> expected disassembly.
Approved - please apply.
Cheers
Nick