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] Arm Thumb-2 immediate operand inversion


On Wed, 2006-02-01 at 18:50, Paul Brook wrote:
> The attached patch implements inversion of Thumb-2 immediate operands.
> eg. turn "add reg, reg, #const" into "sub reg, reg, #-const" if only the 
> latter is a legal instruction. We already do this conversion for Arm 
> instructions, just not for Thumb-2.
> 
> Tested with cross to arm-none-eabi.
> Ok?

OK.

R.


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