25.02.2015 Views

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

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.

PRELIMINARY DATA<br />

166 WP channel type WPC_PERF<br />

The counter is incremented a bounded number of cycles after the watchpoint hit or<br />

the CPU state occurred. The bounded time is fixed, and thus allows timing<br />

relationships between CPU states to be observed.<br />

If SR.WATCH is ‘0’, WPC_PERF channels will not trigger.<br />

1.18.1 Match registers<br />

WPC.WP_WPC_PERFx_MATCH_TYPE<br />

where x = channel ID<br />

Field Bits Size Volatile? Synopsis Type<br />

ITLB_MISS 0 1 — Instruction TLB miss RW<br />

Operation<br />

When read<br />

When written<br />

HARD reset<br />

Instruction fetch access failed (due to a lack of an instruction<br />

TLB translation).<br />

Results in either 0 or 1 increments per instruction.<br />

Returns current value<br />

Updates value<br />

Undefined<br />

ICACHE_ACCESS 1 1 — Instruction Cache Access RW<br />

Operation<br />

When read<br />

When written<br />

HARD reset<br />

An instruction fetch successfully hit the Instruction cache.<br />

This includes preload accesses (due to PT instructions), and<br />

cache coherency (ICBI) accesses, but excludes prefetches<br />

(PREFI).<br />

Results in either 0 or 1 increments per instruction.<br />

Returns current value<br />

Updates value<br />

D R A FT<br />

Undefined<br />

Table 60: WPC.WP_WPC_PERFx_MATCH_TYPE register definition<br />

<strong>SuperH</strong>, Inc.<br />

<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 3: Debug 05-SA-10003 v1.0

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

Saved successfully!

Ooh no, something went wrong!