User’s Manual

 

 

 

IBM PowerPC 750GX and 750GL RISC Microprocessor

 

 

 

 

 

 

 

 

 

Bits

Field Name

 

Description

 

 

 

 

 

 

 

 

Instruction-cache lock

 

 

0

Normal operation.

 

 

1

Instruction cache is locked. A locked cache supplies data normally on a hit, but is

18

ILOCK

 

treated as a cache-inhibited transaction on a miss. On a miss, the transaction to

 

the bus or the L2 cache is single-beat. However, CI still reflects the original state

 

 

 

as determined by address translation independent of cache locked or disabled

 

 

 

status.

 

 

To prevent locking during a cache access, an Instruction Synchronization (isync) instruc-

 

 

tion must precede the setting of ILOCK.

 

 

 

 

 

Data-cache lock.

 

 

0

Normal operation.

 

 

1

Data cache is locked. A locked cache supplies data normally on a hit, but is

 

 

 

treated as a cache-inhibited transaction on a miss. On a miss, the transaction to

19

DLOCK

 

the bus or the L2 cache is single-beat. However, CI still reflects the original state

 

as determined by address translation independent of cache locked or disabled

 

 

 

status. A snoop hit to a locked L1 data cache performs as if the cache were not

 

 

 

locked. A cache block invalidated by a snoop remains invalid until the cache is

 

 

 

unlocked.

 

 

To prevent locking during a cache access, a sync instruction must precede the setting of

 

 

DLOCK.

 

 

 

 

 

 

 

Instruction-cache flash invalidate

 

 

0

The instruction cache is not invalidated. The bit is cleared when the invalidation

 

 

 

operation begins (usually the next cycle after the write operation to the register).

 

 

 

The instruction cache must be enabled for the invalidation to occur.

 

 

1

An invalidate operation is issued that marks the state of each instruction-cache

 

 

 

block as invalid without writing back modified cache blocks to memory. Cache

 

 

 

access is blocked during this time. Bus accesses to the cache are signaled as

20

ICFI

 

misses during invalidate-all operations. Setting ICFI clears all the valid bits of the

 

blocks and the pseudo least-recently used (PLRU) bits to point to way L0 of each

 

 

 

 

 

 

set. Once the L1 flash invalidate bits are set through an mtspr operation, hard-

 

 

 

ware automatically resets these bits in the next cycle (provided the correspond-

 

 

 

ing cache enable bits are set in HID0).

 

 

Note: In the PowerPC 603 and PowerPC 603e processors, the proper use of the ICFI

 

 

and DCFI bits was to set them and clear them in two consecutive mtspr operations. Soft-

 

 

ware that already has this sequence of operations does not need to be changed to run on

 

 

the 750GX.

 

 

 

 

 

Data-cache flash invalidate

 

 

0

The data cache is not invalidated. The bit is cleared when the invalidation opera-

 

 

 

tion begins (usually the next cycle after the write operation to the register). The

 

 

 

data cache must be enabled for the invalidation to occur.

 

 

1

An invalidate operation is issued that marks the state of each data-cache block

 

 

 

as invalid without writing back modified cache blocks to memory. Cache access

 

 

 

is blocked during this time. Bus accesses to the cache are signaled as a miss

 

 

 

during invalidate-all operations. Setting DCFI clears all the valid bits of the blocks

21

DCFI

 

and the PLRU bits to point to way L0 of each set. Once the L1 flash invalidate

 

bits are set through an mtspr operation, hardware automatically resets these bits

 

 

 

 

 

 

in the next cycle (provided that the corresponding cache enable bits are set in

 

 

 

HID0).

 

 

Setting this bit clears all the valid bits of the blocks and the PLRU bits to point to way L0 of

 

 

each set.

 

 

Note: In the PowerPC 603 and PowerPC 603e processors, the proper use of the ICFI

 

 

and DCFI bits was to set them and clear them in two consecutive mtspr operations. Soft-

 

 

ware that already has this sequence of operations does not need to be changed to run on

 

 

the 750GX.

 

 

 

 

 

1.For additional information, see Section 11.9, Checkstops, on page 361.

2.For additional information about power-saving modes, see Table 10-2, HID0 Power Saving Mode Bit Settings, on page 337.

gx_02.fm.(1.2)

Programming Model

March 27, 2006

Page 67 of 377