![](/images/backgrounds/120559/120559-377132x1.png)
User’s Manual
IBM PowerPC 750GX and 750GL RISC Microprocessor
3.4.1.1The data cache is automatically invalidated when the 750GX is powered up and during a hard reset. However, a soft reset does not automatically invalidate the data cache. Software must use the HID0 data- cache flash invalidate bit (HID0[DCFI]) if data cache invalidation is desired after a soft reset. Once HID0[DCFI] is set through an mtspr operation, the 750GX automatically clears this bit in the next clock cycle (provided that the data cache is enabled in the HID0 Register).
Note that some PowerPC microprocessors accomplish
The data cache can be enabled or disabled by using the
When the data cache is in the disabled state (HID0[DCE] = 0), the cache tag state bits are ignored, and all accesses are propagated to the L2 cache or 60x bus as
The setting of the DCE bit must be preceded by a synchronization (sync) instruction to prevent the cache from being enabled or disabled in the middle of a data access. In addition, the cache must be globally flushed before it is disabled to prevent coherency problems when it is
Snooping is not performed when the data cache is disabled.
The Data Cache Block Set to Zero (dcbz) instruction will cause an alignment exception when the data cache is disabled. The touch load (Data Cache Block Touch [dcbt] and Data Cache Block Touch for Store [dcbtst] instructions are
The contents of the data cache can be locked by setting the
The 750GX treats snoop hits to a locked data cache the same as snoop hits to an unlocked data cache. However, any cache block invalidated by a snoop hit remains invalid until the cache is unlocked.
The setting of the DLOCK bit must be preceded by a sync instruction to prevent the data cache from being locked during a data access.
gx_03.fm.(1.2) | |
Page 132 of 377 | March 27, 2006 |