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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ARM</strong>v6 Differences<br />

G.7.10 c7, Cache operations<br />

Table G-7 shows the cache operations defined for <strong>ARM</strong>v6. They are performed as MCR instructions <strong>and</strong> only<br />

operate on a level 1 cache associated with a specific processor. The equivalent operations in <strong>ARM</strong>v7 operate<br />

on multiple levels of cache. See CP15 c7, Cache maintenance <strong>and</strong> other functions on page B3-126. For a<br />

list of required operations in <strong>ARM</strong>v6, see Cache support on page AppxG-21. Support of additional<br />

operations is IMPLEMENTATION DEFINED.<br />

Table G-7 Cache operation support<br />

Operation CRn opc1 CRm opc2<br />

Invalidate instruction cache a c7 0 c5 0<br />

Invalidate instruction cache line by MVA a c7 0 c5 1<br />

Invalidate instruction cache line by set/way c7 0 c5 2<br />

Flush entire branch predictor array a c7 0 c5 6<br />

Flush branch predictor array entry by MVA a c7 0 c5 7<br />

Invalidate data cache c7 0 c6 0<br />

Invalidate data cache line by MVA a c7 0 c6 1<br />

Invalidate data cache line by set/way a c7 0 c6 2<br />

Invalidate unified cache, or instruction cache <strong>and</strong> data cache c7 0 c7 0<br />

Invalidate unified cache line by MVA c7 0 c7 1<br />

Invalidate unified cache line by set/way c7 0 c7 2<br />

Clean data cache c7 0 c10 0<br />

Clean data cache line by MVA a c7 0 c10 1<br />

Clean data cache line by set/way a c7 0 c10 2<br />

Test <strong>and</strong> Clean data cache b c7 0 c10 3<br />

Cache Dirty Status Register c c7 0 c10 6<br />

Clean entire unified cache c7 0 c11 0<br />

Clean unified cache line by MVA a c7 0 c11 1<br />

Clean unified cache line by set/way c7 0 c11 2<br />

Prefetch instruction cache line by MVA d c7 0 c13 1<br />

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

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

Saved successfully!

Ooh no, something went wrong!