[patch] tc-arm.c: Issue a warning for comparison instructions with an 's' suffix.

Richard Earnshaw rearnsha@arm.com
Thu May 4 08:40:00 GMT 2006


On Wed, 2006-05-03 at 17:57, Kazu Hirata wrote:
> Hi,
> 
> Attached is a patch to issue a warning for comparison instructions
> like tsts, cmps, and cmns with an 's' suffix.  These comparison
> instructions set the condition codes, so the 's' is redundant.
> 
> Tested on arm-none-eabi.  OK to apply?
> 
> Kazu Hirata
> 
> 2006-05-03  Kazu Hirata  <kazu@codesourcery.com>
> 
> 	* config/tc-arm.c (opcode_tag): Add OT_cinfix3_deprecated.
> 	(opcode_lookup): Issue a warning for opcode with
> 	OT_cinfix3_deprecated.  Otherwise treat OT_cinfix3_deprecated
> 	identical to OT_cinfix3.
> 	(TxC3w, TC3w, tC3w): New.
> 	(insns): Use tC3w and TC3w for comparison instructions with
> 	's' suffix.
> 
> 2006-05-03  Kazu Hirata  <kazu@codesourcery.com>
> 
> 	* gas/arm/armv1.d (error-output): New.
> 	* gas/arm/armv1.l: New.
> 	* gas/arm/thumb32.d (error-output): New.
> 	* gas/arm/thumb32.l: New.

OK.

R.



More information about the Binutils mailing list