[RFA] ARM: VLDM/VSTM pc, {} is predictable in ARM state

Matthew Gretton-Dann matthew.gretton-dann@arm.com
Mon Jun 7 16:24:00 GMT 2010


All,

Please can someone review and approve the attached patch?

The patch is to fix gas so that it accepts vldm pc, {...}, vstm pc,
{...}, and the divided syntax equivalents, in ARM state.

(These instructions with writeback, or in Thumb-state are
unpredictable).

Thanks,

Matt

Proposed ChangeLogs:

gas/ChangeLog:
2010-06-07  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
	* config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum 
	value.
	(parse_operands): Add support for OP_RRnpctw.
	(insns): Update floating-point load/store multiples so the 
	first register is of type OP_RRnpctw.

gas/testsuite/ChangeLog:
2010-06-07 Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
	* gas/arm/vldm-arm.d: New test.
	* gas/arm/vldm-thumb-bad.d: Likewise.
	* gas/arm/vldm-thumb-bad.l: Likewise.
	* gas/arm/vldm.s: Likewise.
	* gas/arm/vldmw-arm-bad.d: Likewise.
	* gas/arm/vldmw-bad.l: Likewise.
	* gad/arm-vldmw-bad.s: Likewise.
	* gas/arm/vldmw-thumb-bad.d: Likewise.

-- 
Matthew Gretton-Dann
Principal Engineer - PDSW Tools
ARM Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1006-vldm-predictable.diff
Type: text/x-patch
Size: 9459 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100607/1eb4628b/attachment.bin>


More information about the Binutils mailing list