This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, ARM, GAS] Fix MSR/MRS operand parsing.


On Thu, 2010-09-16 at 10:50 +0100, Richard Earnshaw wrote:
> 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.

I've checked this in as well on Tejas' behalf.  See:
http://sourceware.org/ml/binutils-cvs/2010-09/msg00105.html

Thanks,

Matt


-- 
Matthew Gretton-Dann
Principal Engineer - PDSW Tools
ARM Ltd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]