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 />

146 WP channel type OA<br />

<strong>SH</strong>media<br />

• An ST, FST, SWAP, STLO, ALLOCO or OCBI instruction.<br />

The instruction will access memory from Aeffective upwards (for example,<br />

mem[Aeffective +0], mem[Aeffective + 1]).<br />

Oaddr corresponds to Aeffective with the lower 5 <strong>bit</strong>s masked out.<br />

• A STHI instruction.<br />

The instruction will access memory from Aeffective downwards (for example,<br />

mem[Aeffective - 0], mem[Aeffective - 1]).<br />

Oaddr corresponds to Aeffective with the lower 5 <strong>bit</strong>s masked out.<br />

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

• All <strong>SH</strong>compact store instructions which use the @ addressing mode.<br />

The instruction will access memory from Aeffective upwards (for example,<br />

mem[Aeffective +0], mem[Aeffective + 1]).<br />

Oaddr corresponds to Aeffective with the lower 5 <strong>bit</strong>s masked out.<br />

The start and end address values (and thus the address comparator) are cache-block<br />

size aligned. Thus they ignore the lower 5 <strong>bit</strong>s of the address, and can only be set at<br />

32-byte aligned addresses. This ensures that the OA comparator will not “miss”<br />

accesses which would straddle narrower address settings, it also ensures that the<br />

relevant caching instructions can correctly trigger the OA channels.<br />

The comparison is inclusive of the match start address and the match end address:<br />

Oaddr = (Aeffective & 0x1F)<br />

addressMatch = ((Oaddr >= start) && (Oaddr

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

Saved successfully!

Ooh no, something went wrong!