![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 309](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279309.webp)
March 2002 Release
617
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
Alphabetical Instruction Listing
R
dcbz
Data Cache Block Set to Zero
Description
An effective address (EA) is calculated by adding an index to a base address, which are
formed as follows:
•
The contents of register
r
B are used as the index.
•
If the
r
A field is 0, the base address is 0.
•
If the
r
A field is not 0, the contents of register
r
A are used as the base address.
The operation of this instruction depends on the cachability and caching policy of EA as
follows:
•
If EA is cached by the data cache and has a write-back caching policy, the value of all
bytes in the data cacheline referenced by EA are cleared to 0. The data cacheline is
marked modified.
•
If EA is not cached but is cachable with a write-back caching policy, a corresponding
data cacheline is allocated and the value of the bytes in that line are cleared to 0. The
data cacheline is marked modified.
•
If EA is cachable and has a write-through caching policy, an alignment exception
occurs. This is true whether or not EA is cached.
•
If EA is not cachable, an alignment exception occurs.
dcbz
establishes an address in the data cache without copying data from main memory.
Software must ensure that the established address does not represent an invalid main-
memory address. A subsequent operation could cause the processor to attempt a write of
the cacheline to the invalid main-memory address, possibly causing a machine-check
exception to occur.
Pseudocode
EA
←
(
r
A|0) + (
r
B)
Clear contents of data cacheline corresponding to EA
Registers Altered
•
None.
Exceptions
•
Alignment—if the EA is marked as non-cachable or write-through. The alignment
exception handler can emulate the effect of this instruction by storing zeros to the
corresponding block of main memory.
dcbz
r
A,
r
B
X Instruction Form
31
0
0
0
0
0
r
A
r
B
1014
0
0
6
1
1
1
6
2
1
3
1
Содержание Virtex-II Pro PPC405
Страница 1: ...R Volume 2 a PPC405 User Manual Virtex II Pro Platform FPGA Developer s Kit March 2002 Release...
Страница 14: ...322 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation Preface R...
Страница 252: ...560 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 260: ...568 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 562: ...870 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...