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

Tejas Belagod tejas.belagod@arm.com
Tue Sep 14 08:53:00 GMT 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msr.txt
Type: text/x-patch
Size: 60935 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100914/03da3ee3/attachment.bin>


More information about the Binutils mailing list