05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Performance Monitors<br />

0x0B Instruction that writes to the CONTEXTIDR architecturally executed.<br />

This counter does not increment for a conditional instruction that fails its condition code<br />

check.<br />

0x0C Software change of PC, except by an exception, architecturally executed.<br />

This counter does not increment for a conditional instruction that fails its condition code<br />

check.<br />

0x0D Immediate branch architecturally executed:<br />

B{L} <br />

BLX <br />

CB{N}Z ,<br />

HB{L} #H<strong>and</strong>lerId (ThumbEE state only)<br />

HB{L}P #, #H<strong>and</strong>lerId (ThumbEE state only).<br />

This counter counts for all immediate branch instructions that are architecturally executed,<br />

including conditional instructions that fail their condition code check.<br />

0x0E Procedure return, other than exception return, architecturally executed:<br />

BX R14<br />

MOV PC,LR<br />

POP {…,PC}<br />

LDR PC,[SP],#offset<br />

LDMIA R9!,{…,PC} (ThumbEE state only)<br />

LDR PC,[R9],#offset (ThumbEE state only).<br />

This counter does not increment for a conditional instruction that fails its condition code<br />

check.<br />

Note<br />

Only these instructions are counted as procedure returns. For example, the following are not<br />

counted as procedure return instructions:<br />

BX R0 (Rm != R14)<br />

MOV PC,R0 (Rm != R14)<br />

LDM SP,{…,PC} (writeback not specified)<br />

LDR PC,[SP,#offset] (wrong addressing mode).<br />

0x0F Unaligned access architecturally executed. This counts each instruction that is an access to<br />

an unaligned address. That is, the instruction either triggered an unaligned fault, or would<br />

have done so if the CPSR.A bit had been 1.<br />

This counter does not increment for a conditional instruction that fails its condition code<br />

check.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. C9-15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!