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

Create successful ePaper yourself

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

PRELIMINARY DATA<br />

176 WP channel type WPC_PERF<br />

1.18.2 Operand cache access types<br />

Table 60 defines four modes of operand cache access (OCACHE_ACCESS,<br />

OCACHE_MISS, OCACHE_ALIAS, NONCACHE_ACCESS) that can be seperately counted.<br />

The selection of which mode applies to each case is shown in Table 61. The terms<br />

ACCESS, ALIAS and MISS mean OCACHE_ACCESS, OCACHE_ALIAS and OCACHE_MISS<br />

respectively. The “—” symbol indicates that no performance counter trigger occurs in<br />

that situation. For example, the GETCFG and PUTCFG instructions never increment<br />

performance counters.<br />

SR.MMU=1<br />

D R A FT<br />

SR.MMU=0<br />

Effective address in operand cache Yes No No No N/A<br />

Physical address in operand cache Yes Yes No No N/A<br />

Mode<br />

Cacheable translation Yes Yes Yes No N/A<br />

Instruction<br />

<strong>SH</strong>media LD, ST, FLD, FST ACCESS ALIAS MISS NONCACHE_ACCESS<br />

<strong>SH</strong>compact<br />

LD .., R63 (prefetch) ACCESS ALIAS MISS NONCACHE_ACCESS<br />

ALLOCO ACCESS ALIAS MISS NONCACHE_ACCESS<br />

SWAP.Q ALIAS ALIAS MISS NONCACHE_ACCESS<br />

OCBI, OCBP, OCBWB ALIAS ALIAS MISS NONCACHE_ACCESS<br />

GETCFG/PUTCFG — — — —<br />

All instructions using the<br />

@-addressing mode with<br />

the exclusion of JMP, JSR,<br />

MOVA, OCBI, OCBP,<br />

OCBWB<br />

ACCESS ALIAS MISS NONCACHE_ACCESS<br />

OCBI, OCBP, OCBWB ALIAS ALIAS MISS NONCACHE_ACCESS<br />

Table 61: Operand cache access modes for performance counting<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!