32-bit Thumb-2 breakpoints

Catalin Marinas catalin.marinas at arm.com
Tue Jan 12 04:53:07 EST 2010


On Mon, 2010-01-11 at 23:51 +0000, Daniel Jacobowitz wrote:
> On Mon, Jan 11, 2010 at 11:31:43PM +0000, Russell King - ARM Linux wrote:
> > It sounds rather evil - maybe the first question that should be asked
> > is whether it is legal to change the PSR flags in the middle of an IT
> > block.
> 
> I'm pretty sure it is.  Catalin, do you know for sure?

16-bit instructions in the IT block other than CMN, CMP and TST do not
set the condition flags. You can use 32-bit instructions for setting the
condition flags inside an IT block.

AFAICT, the ARM ARM doesn't say anything that wouldn't allow changing
the condition flags.

-- 
Catalin




More information about the linux-arm-kernel mailing list