Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||
|
1 |
tlbs |
MMUCR[N] =1;
if (TLBEHI[I] == 1)
TlbToSearch =ITLB;
else
TlbToSearch =DTLB;
endif;
for (i = 0 to TLBToSearchEntries-1)
if ( Compare(TlbToSearch[i]VPN, VA, TlbToSearch[i]SZ, TlbToSearch[i]V) )
// VPN and VA matches for the given page size and entry valid
if ( SharedVMM or
(PrivateVMM and ( TlbToSearch[i]G or (TlbToSearch[i]ASID==TLBEHI[ASID]) ) ) )
ptr = i;
MMUCR[N] =0;
endif;
endif;
endfor;
if (TLBEHI[I] == 1)
MMUCR[IRP] =ptr;
else
MMUCR[DRP] =ptr;
endif; |
None |
Rev1+ |
|
Search the addressed TLB for an entry matching TLB Entry High and Low (TLBEHI/TLBELO) registers. Return a pointer to the entry in MMUCR[IRP] or MMUCR[DRP] if a match found, oth- erwise set the Not Found bit in the MMU control register, MMUCR[N].
|
Q: |
Not affected. |
|
V: |
Not affected. |
|
N: |
Not affected. |
|
Z: |
Not affected. |
|
C: |
Not affected. |
This instruction can only be executed in a privileged mode.