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] tc-arm.c: Issue a warning for comparison instructions with an 's' suffix.


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.


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