AMCC Proprietary 385
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
subic RT, RA, IM Subtract EXTS(IM) from (RA).
Place result in RT.
Place carry-out in XER[CA].
Extended mnemonic for
addic RT,RA,−IM
165
subic. RT, RA, IM Subtract EXTS(IM) from (RA).
Place result in RT.
Place carry-out in XER[CA].
Extended mnemonic for
addic. RT,RA,−IM
CR[CR0] 166
subis RT, RA, IM Subtract (IM ||
16
0) from (RA|0).
Place result in RT.
Extended mnemonic for
addis RT,RA,−IM
167
sync Synchronization. All instructions that precede sync
complete before any instructions that follow sync begin.
When sync completes, all storage accesses initiated prior
to sync will have completed.
333
tlbia All TLB entries are invalidated and become unavailable for
translation by clearing the valid (V) bit in the TLBHI portion
of each TLB entry. The rest of the TLB fields unmodified.
334
tlbre RT, RA,WS If WS = 0:
Load TLBHI of the selected TLB entry into RT.
Load PID with the contents of the TID field of the selected
TLB entry.
(RT)
← TLBHI[(RA)]
(PID) ← TLB[(RA)]TID
If WS = 1:
Load TLBLO portion of the selected TLB entry into RT.
(RT)
← TLBLO[(RA)]
335
tlbrehi RT, RA Load TLBHI of the selected TLB entry into RT.
Load PID with the contents of the TID field of the selected
TLB entry.
(RT)
← TLBHI[(RA)]
(PID) ← TLB[(RA)]TID
Extended mnemonic for
tlbre RT,RA,0
335
tlbrelo RT, RA Load TLBLO of the selected TLB entry into RT.
(RT) ← TLBLO[(RA)]
Extended mnemonic for
tlbre RT,RA,1
335
tlbsx RT, RA, RB Search the TLB for a valid entry that translates the EA.
EA = (RA|0) + (RB).
If found,
(RT)
← Index of TLB entry.
If not found,
(RT) Undefined.
337
tlbsx. If found,
(RT)
← Index of TLB entry.
CR[CR0]
EQ
← 1.
If not found,
(RT) Undefined.
CR[CR0]
EQ
← 1.
CR[CR0]
LT,GT,SO
tlbsync tlbsync does not complete until all previous TLB-update
instructions executed by this processor have been received
and completed by all other processors.
For the PPC405, tlbsync is a no-op.
338
tlbwe RS, RA,WS If WS = 0:
Write TLBHI of the selected TLB entry from RS.
Write the TID field of the selected TLB entry from the PID
register.
TLBHI[(RA)]
← (RS)
TLB[(RA)]TID ← (PID)24:31
If WS = 1:
Write TLBLO portion of the selected TLB entry from RS.
TLBLO[(RA)]
← (RS)
339
Table A-1. PPC405 Instruction Syntax Summary (Continued)
Mnemonic Operands Function Other Registers Changed Page