Dcbtst - IBM PPC440X5 CPU Core User Manual

Cpu core
Table of Contents

Advertisement

dcbtst

Data Cache Block Touch for Store
PPC440x5 CPU Core User's Manual
dcbtst
Data Cache Block Touch for Store
dcbtst
RA, RB
31
0
6
EA
(RA|0) + (RB)
DCBTST(EA)
An effective address (EA) is formed by adding an index to a base address. The index is the contents of
register RB. The base address is 0 if the RA field is 0 and is the contents of register RA otherwise.
If the data block at the EA is not in the data cache and the memory page referenced by the EA address is
marked as cacheable, the data block is loaded into the data cache.
If the data block at the EA is in the data cache, or if the memory page referenced by the EA is marked as
caching inhibited, no operation is performed.
This instruction is not allowed to cause Data Storage interrupts nor Data TLB Error interrupts. If execution of
the instruction causes either of these types of exception, then no operation is performed, and no interrupt
occurs.
If instruction bit 31 contains 1, the contents of CR[CR0] are undefined.
Registers Altered
• None
Invalid Instruction Forms
• Reserved fields
Programming Notes
dcbtst instruction allows a program to begin a cache block fetch from main storage before the program
The
needs the data. The program can later store data from GPRs into the cache block, without incurring the
latency of a cache miss.
Architecturally, dcbtst is intended to bring a cache block into the data cache in a manner which will permit
future instructions to store to that block efficiently. For example, in an implementation which supports the
"MESI" cache coherency protocol, the block would be brought into the cache in "Exclusive" mode, allowing
the block to be stored to without having to broadcast any coherency operations on the system bus. However,
since the PPC440x5 core does not support hardware-enforcement of multiprocessor coherency, there is no
distinction between a block being brought in for a read or a write, and hence the implementation of the
instruction is identical to the implementation of the
Exceptions
This instruction is considered a "load" with respect to Data Storage exceptions. See Data Storage Interrupt on
page 181 for more information.
Page 300 of 589
RA
RB
11
16
dcbt instruction.
246
21
September 12, 2002
Preliminary
31
dcbtst
instrset.fm.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents