Volume 3: Instruction Reference
3:233
ptc.l
ptc.l — Purge Local Translation Cache
Format:
(
qp
) ptc.l
r
3
,
r
2
Description:
The instruction and data translation cache of the local processor is searched for all
entries whose virtual address and page size partially or completely overlap the specified
purge virtual address and purge address range. All these entries are removed.
The purge virtual address is specified by GR
r
3
bits{60:0} and the purge region
identifier is selected by GR
r
3
bits {63:61}. GR
r
2
specifies the address range of the
purge as 1<<GR[
r
2
]{7:2} bytes in size. See
Section 4.1.1.7, “Page Sizes” on page 2:57
for details on supported page sizes for TLB purges.
The processor ensures that all entries matching the purging parameters are removed.
However, based on the processor model, the translation cache may be also purged of
more translations than specified by the purge parameters up to and including removal
of all entries within the translation cache.
This instruction can only be executed at the most privileged level, and when PSR.vm is
0.
This is a local operation, no purge broadcast to other processors occurs in a
multiprocessor system. This instruction ensures that all prior stores are made locally
visible before the actual purge operation is performed.
Operation:
if (PR[
qp
]) {
if (PSR.cpl != 0)
privileged_operation_fault(0);
if (GR[
r
3
].nat || GR[
r
2
].nat)
register_nat_consumption_fault(0);
if (unimplemented_virtual_address(GR[
r
3
], PSR.vm))
unimplemented_data_address_fault(0);
if (PSR.vm == 1)
virtualization_fault();
tmp_rid = RR[GR[
r
3
]{63:61}].rid;
tmp_va = GR[
r
3
]{60:0};
tmp_size = GR[
r
2
]{7:2};
tmp_va = align_to_size_boundary(tmp_va, tmp_size);
tlb_must_purge_dtc_entries(tmp_rid, tmp_va, tmp_size);
tlb_must_purge_itc_entries(tmp_rid, tmp_va, tmp_size);
}
Interruptions:
Machine Check abort
Unimplemented Data Address fault
Privileged Operation fault
Virtualization fault
Register NaT Consumption fault
Serialization:
Software must issue the appropriate data and/or instruction serialization operation to
ensure the purge is completed before a data access, non-access reference, or
instruction fetch access dependent upon the purge.
Содержание Itanium 9150M
Страница 1: ......
Страница 209: ...3 200 Volume 3 Instruction Reference padd Interruptions Illegal Operation fault...
Страница 301: ...3 292 Volume 3 Pseudo Code Functions Intel Itanium Architecture Software Developer s Manual Rev 2 3...
Страница 405: ...3 396 Volume 3 Resource and Dependency Semantics...
Страница 406: ...3 397 Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index...
Страница 407: ...3 398 Intel Itanium Architecture Software Developer s Manual Rev 2 3...
Страница 419: ...INDEX Index 12 Index for Volumes 1 2 3 and 4...
Страница 420: ......