[patch] Arm FPA stfpls

Paul Brook paul@codesourcery.com
Fri Sep 2 16:05:00 GMT 2005


> The problem instructions are {ldf,stf,cmp,cmn,teq,tst}pls, all of which
> change meaning if you try to apply the new UAL rules to them.  (on the
> comparison instructions above, the 's' was redundant but accepted by the
> assembler in legacy mode).
>
> The intent of UAL is that existing ARM code (but not thumb) can be
> re-assembled in UAL mode without changing the meaning.  The above kind
> of break this intent if you apply the new rules strictly.  I've
> discussed this with a colleague and we have concluded that for these
> instructions only, the UAL interpretation should be the same as the
> traditional interpretation: that is, they should continue to use the
> infix notation.

Attached patch implements this. 

Tested with cross to arm-unknown-eabi.
Ok?

Paul

2005-09-02  Paul Brook  <paul@codeourcery.com>

gas/
	* config/tc-arm.c (opcode_tag): Add OT_cinfix3_pls.
	(opcode_lookup): Handle OT_cinfix3_pls.  Revert earlier change for
	normal infix conditions.
	(CP, cCP): Define.
	(insns): Use them for ambiguous mnemonics.
	* gas/arm/fpa-mem.s: Update comments. Add unambiguous conditional
	mnemonics.
	* gas/arm/fpa-mem.d: Update expected results.  Suppress warnings.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.gas_ambig
Type: text/x-diff
Size: 7077 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050902/54031c25/attachment.bin>


More information about the Binutils mailing list