English
Language : 

SH7619_09 Datasheet, PDF (103/860 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7619 Series
Section 3 Cache
3.4.3 Usage Examples
Invalidating Specific Entries: Specific cache entries can be invalidated by writing 0 to the entry's
V bit in the memory-mapped cache access. When the A bit is 1, the tag address specified by the
write data is compared to the tag address within the cache selected by the entry address, and the V
bit and U bit specified by the write data are written when a match is found. If no match is found,
there is no operation. When the V bit of an entry in the address array is set to 0, the entry is written
back if the entry's U bit is 1. In the example shown below, R0 specifies the write data and R1
specifies the address.
; R0=H'01100010; VPN=B'0000 0001 0001 0000 0000 00, U=0, V=0
; R1=H'F0000088; address array access, entry=B'00001000, A=1
;
MOV.L R0,@R1
Reading Data of Specific Entry: The data section of a specific entry can be read from by the
memory-mapped cache access. The longword indicated in the data field of the data array in
figure 3.4 is read into the register. In the example shown below, R0 specifies the address and R1
shows what is read.
; R0=H'F100004C; data array access, entry=B'00000100
; Way = 0, longword address = 3
;
MOV.L @R0,R1 ; Longword 3 is read.
Rev. 6.00 Jul. 15, 2009 Page 63 of 816
REJ09B0237-0600