This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch, ARM, GAS] Fix MSR/MRS operand parsing.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Tejas Belagod <tejas dot belagod at arm dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 16 Sep 2010 10:50:53 +0100
- Subject: Re: [Patch, ARM, GAS] Fix MSR/MRS operand parsing.
- References: <1284454377.2234.48.camel@e102484-lin.cambridge.arm.com>
On Tue, 2010-09-14 at 09:52 +0100, Tejas Belagod wrote:
> Hi,
>
> Attached is a patch that fixes the acceptance of valid syntax for APSR,
> CPSR and SPSR as MSR/MRS operands. It also fixes various bugs related to
> acceptance of flags that can be specified as a part of the PSR syntax
> APSR_nzcvqg, CPSR_cxsf and SPSR_cxsf in MSR/MRS instructions.
>
> --
> Tejas Belagod
> ARM.
>
> gas/testsuite
>
> 2010-09-14 Tejas Belagod <tejas.belagod@arm.com>
>
> * gas/arm/msr-reg.s: New file.
> * gas/arm/msr-reg.d: New file.
> * gas/arm/msr-imm.s: New file.
> * gas/arm/msr-imm.d: New file.
> * gas/arm/msr-imm-bad.d: New file.
> * gas/arm/msr-imm-bad.l: New file.
> * gas/arm/msr-reg-bad.d: New file.
> * gas/arm/msr-reg-bad.l: New file.
> * gas/arm/msr-reg-thumb.d: New file.
> * gas/arm/arch7.s: Add tests for xpsr.
> * gas/arm/arch7.d: Likewise.
>
> gas/
>
> 2010-09-14 Tejas Belagod <tejas.belagod@arm.com>
>
> * config/tc-arm.c (parse_psr): Add condition for matching "APSR"
> on non-M-arch cpus.
> (psrs): Add entry for PSR flags g, nzcvq, nzcvqg.
OK.
R.